Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5523


Ignore:
Timestamp:
02/21/11 15:55:12 (14 years ago)
Author:
gkronber
Message:

#1419 removed warnings in plugin infrastructure.

Location:
trunk/sources/HeuristicLab.PluginInfrastructure/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginManager.cs

    r5445 r5523  
    7979        pluginDomain = AppDomain.CreateDomain("plugin domain", null, setup);
    8080        Type pluginValidatorType = typeof(PluginValidator);
    81         PluginValidator remoteValidator = (PluginValidator)pluginDomain.CreateInstanceAndUnwrap(pluginValidatorType.Assembly.FullName, pluginValidatorType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null, null);
     81        PluginValidator remoteValidator = (PluginValidator)pluginDomain.CreateInstanceAndUnwrap(pluginValidatorType.Assembly.FullName, pluginValidatorType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null);
    8282        remoteValidator.PluginDir = pluginDir;
    8383        // forward all events from the remoteValidator to listeners
     
    124124        Type applicationManagerType = typeof(DefaultApplicationManager);
    125125        DefaultApplicationManager applicationManager =
    126           (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null, null);
     126          (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null);
    127127        applicationManager.PluginLoaded += applicationManager_PluginLoaded;
    128128        applicationManager.PluginUnloaded += applicationManager_PluginUnloaded;
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Sandboxing/SandboxManager.cs

    r5445 r5523  
    8585      Type applicationManagerType = typeof(DefaultApplicationManager);
    8686      DefaultApplicationManager applicationManager =
    87         (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null, null);
     87        (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null);
    8888      PluginManager pm = new PluginManager(applicationBase);
    8989      pm.DiscoverAndCheckPlugins();
Note: See TracChangeset for help on using the changeset viewer.