public ProfileGateway(IProfileReadonly profile, AccountName accountName, ITpBus bus) { _profile = profile; _accountName = accountName; _bus = bus; _storage = _profile.Get <ITargetProcessMessage>(); }
public SetEnableForTp2(IPluginContext pluginContext, IActivityLogger log, IProfileCollection profileCollection, ITpBus bus) { _pluginContext = pluginContext; _log = log; _profileCollection = profileCollection; _bus = bus; }
public BuildSearchIndexesCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext, IPluginMetadata pluginMetadata) { _bus = bus; _profileCollection = profileCollection; _pluginContext = pluginContext; _pluginMetadata = pluginMetadata; }
public ProfileGateway(IProfileReadonly profile, AccountName accountName, ITpBus bus) { _profile = profile; _accountName = accountName; _bus = bus; _storage = _profile.Get<ITargetProcessMessage>(); }
public MashupInfoRepository(ILogManager logManager, IPluginContext context, ITpBus bus, IMashupScriptStorage scriptStorage) { _bus = bus; _scriptStorage = scriptStorage; _log = logManager.GetLogger(GetType()); _context = context; }
public PluginRuntime(IPluginPersister pluginPersister, EventAggregator eventAggregator, ITpBus bus) { _pluginPersister = pluginPersister; _eventAggregator = eventAggregator; _bus = bus; _eventAggregator.Get <Event <AccountCollectionCreated> >().Subscribe(OnAccountCollectionCreated); _eventAggregator.Get <Event <ProfileChanged> >().Subscribe(OnProfileChanged); }
protected ThenClause(ParseNode clauseNode, ITpBus bus, IStorageRepository storage) { _bus = bus; _storage = storage; var projectIdNode = ClauseFactory.FindRecursive(TokenType.NUMBER, clauseNode); _projectId = Int32.Parse(projectIdNode.Token.Text); }
public PluginRuntime(IPluginPersister pluginPersister, EventAggregator eventAggregator, ITpBus bus) { _pluginPersister = pluginPersister; _eventAggregator = eventAggregator; _bus = bus; _eventAggregator.Get<Event<AccountCollectionCreated>>().Subscribe(OnAccountCollectionCreated); _eventAggregator.Get<Event<ProfileChanged>>().Subscribe(OnProfileChanged); }
public MashupInfoRepository(ILogManager logManager, IPluginContext context, ITpBus bus, IMashupScriptStorage scriptStorage) { _bus = bus; _scriptStorage = scriptStorage; _context = context; _lazyMashupManagerProfile = Lazy.Create(() => ObjectFactory.GetInstance <ISingleProfile>().Profile.GetProfile <MashupManagerProfile>()); _log = logManager.GetLogger(GetType()); }
public MashupInfoRepository(ILogManager logManager, IPluginContext context, ITpBus bus, IMashupScriptStorage scriptStorage) { _bus = bus; _scriptStorage = scriptStorage; _context = context; _lazyMashupManagerProfile = Lazy.Create(() => ObjectFactory.GetInstance<ISingleProfile>().Profile.GetProfile<MashupManagerProfile>()); _log = logManager.GetLogger(GetType()); }
public void Dispose() { if (_disposed) return; _disposed = true; _accountName = null; _bus = null; _storage = null; }
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>(); }
protected PluginInfoSender() { _context = ObjectFactory.GetInstance<IPluginContext>(); _bus = ObjectFactory.GetInstance<ITpBus>(); PluginMetadata = ObjectFactory.GetInstance<IPluginMetadata>(); _accountCollection = ObjectFactory.GetInstance<IAccountCollection>(); _pluginQueueFactory = ObjectFactory.GetInstance<IPluginQueueFactory>(); _pluginSettings = ObjectFactory.GetInstance<IPluginSettings>(); _pluginIcon = ObjectFactory.GetInstance<PluginIcon>(); }
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 void Dispose() { if (_disposed) { return; } _disposed = true; _accountName = null; _bus = null; _storage = null; }
private ThenCreateRequestClause(ParseNode clauseNode, ITpBus bus, IStorageRepository storage, bool isPrivate = false) : base(clauseNode, bus, storage) { var attachToRequestPart = ClauseFactory.FindRecursive(TokenType.AttachRequestToTeamPart, clauseNode.Parent); if (attachToRequestPart != null) { foreach (var squadIdNode in from node in attachToRequestPart.Nodes where node.Token.Type == TokenType.AttachRequestToTeamClause select ClauseFactory.FindRecursive(TokenType.NUMBER, node)) { _squadId = System.Int32.Parse(squadIdNode.Token.Text); break; } } _isPrivate = isPrivate; }
public AccountHandler([NotNull] IAccountCollection collection, [NotNull] ITpBus bus, [NotNull] IPluginContext context, [NotNull] ILogManager logManager, [NotNull] IMsmqTransport msmqTransport) { if (collection == null) { throw new NullReferenceException("collection"); } if (bus == null) { throw new ArgumentNullException("bus"); } if (context == null) { throw new ArgumentNullException("context"); } _collection = collection; _bus = bus; _context = context; _msmqTransport = msmqTransport; _log = logManager.GetLogger(this.GetType()); }
public RescanRepositoryCommand(ITpBus bus, IPluginContext pluginContext) { _bus = bus; _pluginContext = pluginContext; }
public AutomaticOnDemandProfileCreator(IPluginContext pluginContext, ITpBus bus) { _pluginContext = pluginContext; _bus = bus; }
public DeleteProfileCommand(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext) : base(profileCollection, bus, pluginContext) { }
private ThenCreateRequestClause(ParseNode clauseNode, ITpBus bus, IStorageRepository storage) : base(clauseNode, bus, storage) { }
public AddProfileCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext, IPluginMetadata pluginMetadata) : base(profileCollection, bus, pluginContext, pluginMetadata) { }
public DeleteProfileCommandHandler(ITpBus tpBus, IPluginMetadata pluginMetadata) { _tpBus = tpBus; _pluginMetadata = pluginMetadata; }
public ThenAttachToProjectClause(ParseNode clauseNode, ITpBus bus, IStorageRepository storage) : base(clauseNode, bus, storage) { }
public TpGeneralUserChangedMessageHandler(ITpBus tpBus, UserRepository userRepository) { _tpBus = tpBus; _userRepository = userRepository; }
public ProfileGatewayFactory(ITpBus tpBus) { _tpBus = tpBus; }
public AddOrUpdateProfileCommand(ITpBus bus, IProfileCollection profileCollection, IPluginContext pluginContext, IPluginMetadata pluginMetadata) : base(profileCollection, bus, pluginContext, pluginMetadata) { _profileCollection = profileCollection; }
public PluginCommandHandler(ITpBus tpBus, IPluginCommandRepository pluginCommandRepository, ILogManager logManager) { _tpBus = tpBus; _pluginCommandRepository = pluginCommandRepository; _log = logManager.GetLogger(GetType()); }
protected EditProfileCommandBase(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext, IPluginMetadata pluginMetadata) : base(profileCollection, bus, pluginContext) { _pluginMetadata = pluginMetadata; }
protected ProfileCommandBase(IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext) { _profileCollection = profileCollection; _bus = bus; _pluginContext = pluginContext; }
public MashupForTp2(ITpBus bus) { _bus = bus; }
private ThenCreatePublicRequestClause(ParseNode clauseNode, ITpBus bus, IStorageRepository storage) : base(clauseNode, bus, storage) { }
public PluginGateway(ITpBus bus, IPluginContext pluginContext, IProfileCollection profileCollection) { _bus = bus; _pluginContext = pluginContext; _profileCollection = profileCollection; }