public BookshopAPI(IBooksManager booksManager, IPublisherManager publisherManager, List <IBooks> books) { _booksManager = booksManager; _publisherManager = publisherManager; _books = books; }
private void PublishModificationOfAuditingEvents( AuditDatabaseDecoratedContainer auditDatabaseDecoratedContainer, int insertedId) { if (this.notificationPublisherManager == null) { this.notificationPublisherManager = PublisherClient.get_Instance(); } this.notificationPublisherManager.Publish((INotification) new Notification("System.InstanceCreated", (IDictionary <string, object>)IndicationHelper.GetIndicationProperties(), (IDictionary <string, object>) new Dictionary <string, object>() { { "ActionType", (object)((object)auditDatabaseDecoratedContainer.get_ActionType()).ToString() }, { "AuditEventId", (object)insertedId }, { "InstanceType", (object)"Orion.AuditingEvents" }, { "OriginalAccountId", (object)auditDatabaseDecoratedContainer.AccountId } })); }
public GameController(IGameManager gameManager, IGenreManager genreManager, IPlatformManager platformTypeManager, IPublisherManager publisherManager) { _gameManager = gameManager; _genreManager = genreManager; _platformManager = platformTypeManager; _publisherManager = publisherManager; }
public UpdatePublishedEvents( IPublisherManager publisherManager, ILoggerWrapper logger) { _publisherManager = publisherManager; _logger = logger; }
public BooksController(IBookCategoryManager iBookCategoryManager, IAuthorManager iAuthorManager, ILanguageManager iLanguageManager, IPublisherManager iPublisherManager, IBookManager iBookManager) { _iLanguageManager = iLanguageManager; _iBookCategoryManager = iBookCategoryManager; _iAuthorManager = iAuthorManager; _iPublisherManager = iPublisherManager; _iBookManager = iBookManager; }
public DocifyApplication(IIncludesHandlerManager includes, ICompilerManager compiler, IComposerManager composer, IPublisherManager publisher, ILoaderManager loader, ILogger logger) { Includes = includes; Compiler = compiler; Composer = composer; Publisher = publisher; Loader = loader; Logger = logger; }
public SubscriptionManager(IInteractorManager interactorManager, INotificationManager notificationManager) { _notificationManager = notificationManager; _repository = new SubscriptionRepository(); _publisherManager = new PublisherManager(interactorManager); interactorManager.ClosedInteractors += OnClosedInteractor; interactorManager.FaultedInteractors += OnFaultedInteractor; notificationManager.NewNotificationRequests += OnNewNotificationRequest; _publisherManager.StalePublishers += OnStalePublishers; }
public TechnologyPollingIndicator( IInformationServiceProxyFactory swisFactory, IPublisherManager indicationReporter) { if (swisFactory == null) { throw new ArgumentNullException(nameof(swisFactory)); } if (indicationReporter == null) { throw new ArgumentNullException(nameof(indicationReporter)); } this.swisFactory = swisFactory; this.publishManager = indicationReporter; }
public ThresholdIndicator( IInformationServiceProxyFactory swisFactory, IPublisherManager publishManager) { IInformationServiceProxyFactory serviceProxyFactory = swisFactory; if (serviceProxyFactory == null) { throw new ArgumentNullException(nameof(swisFactory)); } this._swisFactory = serviceProxyFactory; IPublisherManager ipublisherManager = publishManager; if (ipublisherManager == null) { throw new ArgumentNullException(nameof(publishManager)); } this._publishManager = ipublisherManager; }
public FilterViewModel(IGenreManager genreManager, IPlatformManager platformTypeManager, IPublisherManager publisherManager) { _genreManager = genreManager; _platformManager = platformTypeManager; _publisherManager = publisherManager; SelectedGenres = new List <int>(); SelectedPlatforms = new List <int>(); SelectedPublishers = new List <int>(); AllGenres = new MultiSelectList(_genreManager.GetAllGenres().OrderBy(g => g.Category), "Id", "Name", "Category"); AllPlatforms = new MultiSelectList(_platformManager.GetAllPlatforms().OrderBy(g => g.Type), "Id", "Type"); ; AllPublishers = new MultiSelectList(_publisherManager.GetAllPublishers().OrderBy(i => i.CompanyName), "Id", "CompanyName"); ItemsPerPage = new SelectList(new List <string> { "2", "10", "20", "50", "100", "All" }); //FilterByOptions = new SelectList(); //WhenPublished = new SelectList(); }
public PublisherController(IPublisherManager publisherManager) { _publisherManager = publisherManager; }
public PublishersController(IPublisherManager iPublisherManager) { _iPublisherManager = iPublisherManager; }
public BookController() { bookManager = new SqlBookManager(); publisherManager = new SqlPublisherManager(); }
public PublisherServiceManager(IPublisherManager manager) { _manager = manager; }