public TaskService(ProjectDbContext dbContext, IOutlineService outlineService, IProgramService programService) { _db = dbContext; _outlineService = outlineService; _programService = programService; }
public OutlineRazorModel(IOutlineService CurrentService, SchoolContext context, IMapper Mapper) { this.CurrentService = CurrentService; this.context = context; mapper = Mapper; OutlineSort.Initialization(SortConditions); }
public CategoryServiceImpl(Func <ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService, ICatalogService catalogService, ICacheManager <object> cacheManager, AbstractValidator <IHasProperties> hasPropertyValidator) { _repositoryFactory = catalogRepositoryFactory; _cacheManager = cacheManager; _hasPropertyValidator = hasPropertyValidator; _commerceService = commerceService; _outlineService = outlineService; _catalogService = catalogService; }
public ItemServiceImpl(Func <ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService, ICatalogService catalogService, ICategoryService categoryService, AbstractValidator <IHasProperties> hasPropertyValidator) { _catalogService = catalogService; _categoryService = categoryService; _commerceService = commerceService; _outlineService = outlineService; _repositoryFactory = catalogRepositoryFactory; _hasPropertyValidator = hasPropertyValidator; }
public CategoryService(Func <ICatalogRepository> catalogRepositoryFactory, ISeoService seoService, IOutlineService outlineService, ICatalogService catalogService, IPlatformMemoryCache memoryCache, AbstractValidator <IHasProperties> hasPropertyValidator, IEventPublisher eventPublisher, IBlobUrlResolver blobUrlResolver) { _repositoryFactory = catalogRepositoryFactory; _memoryCache = memoryCache; _hasPropertyValidator = hasPropertyValidator; _seoService = seoService; _outlineService = outlineService; _catalogService = catalogService; _eventPublisher = eventPublisher; _blobUrlResolver = blobUrlResolver; }
public ItemService(Func <ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService, ICatalogService catalogService, ICategoryService categoryService, AbstractValidator <IHasProperties> hasPropertyValidator, IEventPublisher eventPublisher, IBlobUrlResolver blobUrlResolver, ISkuGenerator skuGenerator) { _catalogService = catalogService; _categoryService = categoryService; _commerceService = commerceService; _outlineService = outlineService; _repositoryFactory = catalogRepositoryFactory; _hasPropertyValidator = hasPropertyValidator; _eventPublisher = eventPublisher; _blobUrlResolver = blobUrlResolver; _skuGenerator = skuGenerator; }
//-------------------------------------------------------------- #region Creation & Cleanup //-------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="ModelDocument"/> class. /// </summary> /// <param name="editor">The editor.</param> /// <param name="documentType">The type of the document.</param> /// <exception cref="ArgumentNullException"> /// <paramref name="editor"/> or <paramref name="documentType"/> is <see langword="null"/>. /// </exception> internal ModelDocument(IEditorService editor, DocumentType documentType) : base(editor, documentType) { _modelsExtension = editor.Extensions.OfType <ModelsExtension>().FirstOrDefault().ThrowIfMissing(); _useDigitalRuneGraphics = _modelsExtension.UseDigitalRuneGraphics; var services = Editor.Services; _documentService = services.GetInstance <IDocumentService>().ThrowIfMissing(); _statusService = services.GetInstance <IStatusService>().ThrowIfMissing(); _outputService = services.GetInstance <IOutputService>().ThrowIfMissing(); _animationService = services.GetInstance <IAnimationService>().ThrowIfMissing(); _monoGameService = services.GetInstance <IMonoGameService>().ThrowIfMissing(); _outlineService = services.GetInstance <IOutlineService>().WarnIfMissing(); _propertiesService = services.GetInstance <IPropertiesService>().WarnIfMissing(); _errorService = services.GetInstance <IErrorService>().WarnIfMissing(); Editor.ActiveDockTabItemChanged += OnEditorDockTabItemChanged; UpdateProperties(); UpdateOutline(); }
public CategoryServiceImpl(Func <ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService) { _catalogRepositoryFactory = catalogRepositoryFactory; _commerceService = commerceService; _outlineService = outlineService; }
//-------------------------------------------------------------- #region Creation & Cleanup //-------------------------------------------------------------- /// <summary> /// Initializes a new instance of the <see cref="ModelDocument"/> class. /// </summary> /// <param name="editor">The editor.</param> /// <param name="documentType">The type of the document.</param> /// <exception cref="ArgumentNullException"> /// <paramref name="editor"/> or <paramref name="documentType"/> is <see langword="null"/>. /// </exception> internal ModelDocument(IEditorService editor, DocumentType documentType) : base(editor, documentType) { _modelsExtension = editor.Extensions.OfType<ModelsExtension>().FirstOrDefault().ThrowIfMissing(); _useDigitalRuneGraphics = _modelsExtension.UseDigitalRuneGraphics; var services = Editor.Services; _documentService = services.GetInstance<IDocumentService>().ThrowIfMissing(); _statusService = services.GetInstance<IStatusService>().ThrowIfMissing(); _outputService = services.GetInstance<IOutputService>().ThrowIfMissing(); _animationService = services.GetInstance<IAnimationService>().ThrowIfMissing(); _monoGameService = services.GetInstance<IMonoGameService>().ThrowIfMissing(); _outlineService = services.GetInstance<IOutlineService>().WarnIfMissing(); _propertiesService = services.GetInstance<IPropertiesService>().WarnIfMissing(); _errorService = services.GetInstance<IErrorService>().WarnIfMissing(); Editor.ActiveDockTabItemChanged += OnEditorDockTabItemChanged; UpdateProperties(); UpdateOutline(); }
public ItemServiceImpl(Func<ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService) { _catalogRepositoryFactory = catalogRepositoryFactory; _commerceService = commerceService; _outlineService = outlineService; }
public OutlineController(ILogger <OutlineController> logger, IOutlineService outlineService) { _outlineService = outlineService; _logger = logger; }
public OutlineAdaptor(IOutlineService service , IMapper mapper) { this.Service = service; Mapper = mapper; }
public CategoryServiceImpl(Func <ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService, ICacheManager <object> cacheManager) : base(catalogRepositoryFactory, cacheManager) { _commerceService = commerceService; _outlineService = outlineService; }