SosigScript/src/Libraries/LibraryLoader.cs
/// <summary>
/// Loads all the classes with SosigScriptLibraryAttribute in all loaded assemblies
/// </summary>
Loads all the classes with SosigScriptLibraryAttribute in all loaded assemblies
Loads all the classes with SosigScriptLibraryAttribute in all loaded assemblies
public void LoadAllAssemblyTypes()
        {
            foreach (var asm in LoadedAssemblies)
            {
                LoadAssemblyTypes(asm);
            }
            LibrariesLoaded = true;
        }
public void LoadAllAssemblyTypes ( ) { foreach ( var asm in LoadedAssemblies ) { LoadAssemblyTypes ( asm ) ; } LibrariesLoaded = true ; }
Loads all the classes with SosigScriptLibraryAttribute in all loaded assemblies
Loads all the classes with SosigScriptLibraryAttribute in all loaded assemblies
//So we dont reload the libraries every script