RegisterAssemblies() private method

private RegisterAssemblies ( RuntimeAddin addin ) : void
addin RuntimeAddin
return void
Example #1
0
        internal void EnsureAssembliesLoaded()
        {
            if (assemblies != null)
            {
                return;
            }

            ArrayList asmList = new ArrayList();

            // Load the assemblies of the module
            CheckAddinDependencies(module, true);
            LoadModule(module, asmList);

            assemblies = (Assembly[])asmList.ToArray(typeof(Assembly));
            addinEngine.RegisterAssemblies(this);
        }
Example #2
0
        internal void EnsureAssembliesLoaded()
        {
            if (assemblies != null)
            {
                return;
            }

            var asmList = new List <Assembly> ();

            // Load the assemblies of the module
            CheckAddinDependencies(module, true);
            LoadModule(module, asmList);
            addinEngine.ReportAddinAssembliesLoad(id);

            assemblies = asmList.ToArray();
            addinEngine.RegisterAssemblies(this);
        }