Example #1
0
 public CustomPluginObjectCreator(IComponentContext componentContext,
                                  IPluginDependencyRegistrar pluginDependecyRegistrar,
                                  IScopedSetting setting)
     : base(componentContext, pluginDependecyRegistrar)
 {
     Setting = setting;
 }
 /// <summary>
 /// The AutofacPluginObjectCreator constructor
 /// </summary>
 /// <param name="componentContext">An Autofac ComponentContext object.</param>
 /// <param name="pluginDependecyRegistrar">An instance of a IPluginDependencyRegistrar
 /// that can be used to dynamically register objects in a plugin just-in-time or
 /// right before the lugin is loaded.</param>
 public AutofacPluginObjectCreator(IComponentContext componentContext,
                                   IPluginDependencyRegistrar pluginDependecyRegistrar)
     : base()
 {
     _ComponentContext         = componentContext;
     _PluginDependecyRegistrar = pluginDependecyRegistrar;
 }