public SetEnableForTp2(IPluginContext pluginContext, IActivityLogger log, IProfileCollection profileCollection, ITpBus bus)
 {
     _pluginContext     = pluginContext;
     _log               = log;
     _profileCollection = profileCollection;
     _bus               = bus;
 }
Beispiel #2
0
 public BuildSearchIndexesCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext, IPluginMetadata pluginMetadata)
 {
     _bus = bus;
     _profileCollection = profileCollection;
     _pluginContext     = pluginContext;
     _pluginMetadata    = pluginMetadata;
 }
		public BuildSearchIndexesCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext, IPluginMetadata pluginMetadata)
		{
			_bus = bus;
			_profileCollection = profileCollection;
			_pluginContext = pluginContext;
			_pluginMetadata = pluginMetadata;
		}
		public SetEnableForTp2(IPluginContext pluginContext, IActivityLogger log, IProfileCollection profileCollection, ITpBus bus)
		{
			_pluginContext = pluginContext;
			_log = log;
			_profileCollection = profileCollection;
			_bus = bus;
		}
Beispiel #5
0
 public RunAtStartStopInitializer()
 {
     _documentIndexProvider = ObjectFactory.GetInstance <IDocumentIndexProvider>();
     _log = ObjectFactory.GetInstance <IActivityLogger>();
     _profileCollection = ObjectFactory.GetInstance <IProfileCollection>();
     _isOnSite          = ObjectFactory.GetInstance <IMsmqTransport>().RoutableTransportMode == RoutableTransportMode.OnSite;
     _bus            = ObjectFactory.GetInstance <ITpBus>();
     _pluginContext  = ObjectFactory.GetInstance <IPluginContext>();
     _pluginMetadata = ObjectFactory.GetInstance <IPluginMetadata>();
 }
		public RunAtStartStopInitializer()
		{
			_documentIndexProvider = ObjectFactory.GetInstance<IDocumentIndexProvider>();
			_log = ObjectFactory.GetInstance <IActivityLogger>();
			_profileCollection = ObjectFactory.GetInstance<IProfileCollection>();
			_isOnSite = ObjectFactory.GetInstance<IMsmqTransport>().RoutableTransportMode == RoutableTransportMode.OnSite;
			_bus = ObjectFactory.GetInstance<ITpBus>();
			_pluginContext = ObjectFactory.GetInstance<IPluginContext>();
			_pluginMetadata = ObjectFactory.GetInstance<IPluginMetadata>();
		}
 public DocumentIndexRebuilder(IDocumentIndexProvider documentIndexProvider, DocumentIndexSetup documentIndexSetup, ITpBus bus, IPluginContext pluginContext, IPluginMetadata pluginMetadata, IProfileCollection profileCollection, IProfile profile, IActivityLogger logger)
 {
     _documentIndexProvider = documentIndexProvider;
     _documentIndexSetup = documentIndexSetup;
     _bus = bus;
     _pluginContext = pluginContext;
     _pluginMetadata = pluginMetadata;
     _profileCollection = profileCollection;
     _profile = profile;
     _logger = logger;
 }
 public DocumentIndexRebuilder(IDocumentIndexProvider documentIndexProvider, DocumentIndexSetup documentIndexSetup, ITpBus bus, IPluginContext pluginContext, IPluginMetadata pluginMetadata, IProfileCollection profileCollection, IProfile profile, IActivityLogger logger)
 {
     _documentIndexProvider = documentIndexProvider;
     _documentIndexSetup    = documentIndexSetup;
     _bus               = bus;
     _pluginContext     = pluginContext;
     _pluginMetadata    = pluginMetadata;
     _profileCollection = profileCollection;
     _profile           = profile;
     _logger            = logger;
 }
Beispiel #9
0
 public SyncNowCommand(ILocalBus localBus, IPluginContext pluginContext, IProfileCollection profileCollection)
 {
     _localBus          = localBus;
     _pluginContext     = pluginContext;
     _profileCollection = profileCollection;
 }
		public SyncNowCommand(ILocalBus localBus, IPluginContext pluginContext, IProfileCollection profileCollection)
		{
			_localBus = localBus;
			_pluginContext = pluginContext;
			_profileCollection = profileCollection;
		}
 public GetProfileCommand(IProfileCollection profileCollection)
 {
     _profileCollection = profileCollection;
 }
		public DeleteProfileCommand(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext)
			: base(profileCollection, bus, pluginContext)
		{
		}
Beispiel #13
0
 public AddProfileCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext,
                          IPluginMetadata pluginMetadata)
     : base(profileCollection, bus, pluginContext, pluginMetadata)
 {
 }
		protected EditProfileCommandBase(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext,
		                                 IPluginMetadata pluginMetadata)
			: base(profileCollection, bus, pluginContext)
		{
			_pluginMetadata = pluginMetadata;
		}
Beispiel #15
0
 public CheckActivityLogForErrorsCommand(IProfileCollection profileCollection)
 {
     _profileCollection = profileCollection;
 }
		public AddOrUpdateProfileCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext,
		                                 IPluginMetadata pluginMetadata)
			: base(profileCollection, bus, pluginContext, pluginMetadata)
		{
			_profileCollection = profileCollection;
		}
 public DeleteProfileCommand(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext)
     : base(profileCollection, bus, pluginContext)
 {
 }
 protected EditProfileCommandBase(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext,
                                  IPluginMetadata pluginMetadata)
     : base(profileCollection, bus, pluginContext)
 {
     _pluginMetadata = pluginMetadata;
 }
		public CheckActivityLogForErrorsCommand(IProfileCollection profileCollection)
		{
			_profileCollection = profileCollection;
		}
		protected ProfileCommandBase(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext)
		{
			_profileCollection = profileCollection;
			_bus = bus;
			_pluginContext = pluginContext;
		}
		public GetProfilesCommand(IProfileCollection profileCollection)
		{
			_profileCollection = profileCollection;
		}
 public PluginGateway(ITpBus bus, IPluginContext pluginContext, IProfileCollection profileCollection)
 {
     _bus               = bus;
     _pluginContext     = pluginContext;
     _profileCollection = profileCollection;
 }
Beispiel #23
0
 protected ProfileCommandBase(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext)
 {
     _profileCollection = profileCollection;
     _bus           = bus;
     _pluginContext = pluginContext;
 }