示例#1
0
 public AddNewMaterialController(ITermsManager termManager, IMaterialsManager materialManager,
                                 IPositionsManager positionsManager, IUserManager userManager)
 {
     this.termManager      = termManager;
     this.materialManager  = materialManager;
     this.positionsManager = positionsManager;
     this.userManager      = userManager;
 }
        public AddNewMaterialController(ITermsManager termManager, IMaterialsManager materialManager, 
            IPositionsManager positionsManager, IUserManager userManager)
	    {
	        this.termManager = termManager;
	        this.materialManager = materialManager;
	        this.positionsManager = positionsManager;
            this.userManager = userManager;
        }
示例#3
0
 public MaterialsController(
     MaterialsAuthorization materialsAuthorization,
     ICategoriesCache categoriesCache,
     IMaterialsManager materialsManager,
     IMaterialsPresenter materialsPresenter,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     this.materialsAuthorization = materialsAuthorization;
     this.categoriesCache        = categoriesCache;
     this.materialsManager       = materialsManager;
     this.materialsPresenter     = materialsPresenter;
 }
示例#4
0
 public CommentsController(
     IMaterialsManager materialsManager,
     CommentsAuthorization commentsAuthorization,
     OperationKeysContainer operationKeys,
     ICommentsManager commentsManager,
     IAuthorizationService authorizationService,
     ICommentsPresenter commentsPresenter,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     OperationKeys = operationKeys;
     this.commentsAuthorization = commentsAuthorization;
     this.materialsManager      = materialsManager;
     this.commentsManager       = commentsManager;
     this.authorizationService  = authorizationService;
     this.commentsPresenter     = commentsPresenter;
 }
示例#5
0
        public ArticlesController(
            IOptionsMonitor <ArticlesOptions> articlesOptions,
            IAuthorizationService authorizationService,
            ICategoriesCache categoriesCache,
            OperationKeysContainer operationKeysContainer,
            IArticlesPresenter articlesPresenter,
            IMaterialsManager materialManager,
            MaterialsAuthorization materialsAuthorization,
            IServiceProvider serviceProvider) : base(serviceProvider)
        {
            OperationKeys = operationKeysContainer;

            this.articlesOptions        = articlesOptions;
            this.authorizationService   = authorizationService;
            this.categoriesCache        = categoriesCache;
            this.articlesPresenter      = articlesPresenter;
            this.materialManager        = materialManager;
            this.materialsAuthorization = materialsAuthorization;
        }
示例#6
0
 public MaterialsController(
     MaterialsAuthorization materialsAuthorization,
     ICategoriesCache categoriesCache,
     IMaterialsManager materialsManager,
     IMaterialsPresenter materialsPresenter,
     IMaterialsVisitsCounterCache materialsVisitsCounterCache,
     ISectionsCache sectionsCache,
     IServiceProvider serviceProvider,
     OperationKeysContainer operationKeysContainer,
     IAuthorizationService authorizationService) : base(serviceProvider)
 {
     this.materialsAuthorization      = materialsAuthorization;
     this.categoriesCache             = categoriesCache;
     this.materialsManager            = materialsManager;
     this.materialsPresenter          = materialsPresenter;
     this.materialsVisitsCounterCache = materialsVisitsCounterCache;
     this.sectionsCache          = sectionsCache;
     this.serviceProvider        = serviceProvider;
     this.operationKeysContainer = operationKeysContainer;
     this.authorizationService   = authorizationService;
 }
示例#7
0
 public MaterialImporter(IMaterialsManager materialmanager)
 {
     this.MaterialManager = materialmanager;
 }
示例#8
0
 public ImportMaterialsController(IMaterialsManager manager)
 {
     this.manager = manager;
     Folder       = HttpContext.Current.Server.MapPath("~/App_Data/MaterialImport");
 }
示例#9
0
 public MaterialApiController(IMaterialsManager manager)
 {
     _manager = manager;
 }
        public GetAvailableMaterialsController(IUserManager userManager, IMaterialsManager materialManager)
	    {
	        this.userManager = userManager;
	        this.materialManager = materialManager;
        }
示例#11
0
 public GetAvailableMaterialsController(IUserManager userManager, IMaterialsManager materialManager)
 {
     this.userManager     = userManager;
     this.materialManager = materialManager;
 }
 public ImportMaterialsController(IMaterialsManager manager)
 {
     this.manager = manager;
     Folder = HttpContext.Current.Server.MapPath("~/App_Data/MaterialImport");
 }
示例#13
0
 public PositionSearchController(ISearchPositionViewManager manager, IProductsManager productsManager, IMaterialsManager materialManager) :
     base(manager)
 {
     this.ProductManager  = productsManager;
     this.MaterialManager = materialManager;
 }
示例#14
0
 public PositionsController(IPositionsManager manager, IProductsManager productsManager, IMaterialsManager materialManager) :
     base(manager)
 {
     this.ProductManager  = productsManager;
     this.MaterialManager = materialManager;
 }
示例#15
0
 public MaterialImporter(IMaterialsManager materialmanager)
 {
     this.MaterialManager = materialmanager;
 }