Пример #1
0
 public AttributeImporter(IAppContext appContext
                          , IAttributeCreater attributeCreater
                          , IAttributeUpdater attributeUpdater
                          , IAttributeFinder attributeFinder)
 {
     _appContext       = appContext;
     _attributeCreater = attributeCreater;
     _attributeUpdater = attributeUpdater;
     _attributeFinder  = attributeFinder;
 }
Пример #2
0
 public AttributeMetadataController(IWebAppContext appContext
                                    , IEntityFinder entityService
                                    , IAttributeFinder attributeService
                                    , IDefaultAttributeProvider defaultAttributeProvider
                                    , IAttributeUpdater attributeUpdater)
     : base(appContext)
 {
     _entityFinder             = entityService;
     _attributeFinder          = attributeService;
     _defaultAttributeProvider = defaultAttributeProvider;
     _attributeUpdater         = attributeUpdater;
 }
Пример #3
0
 public AttributeUpdaterController(IWebAppContext appContext
                                   , IEntityFinder entityService
                                   , IAttributeFinder attributeService
                                   , IAttributeUpdater attributeUpdater
                                   , IOptionSetFinder optionSetFinder
                                   )
     : base(appContext)
 {
     _entityFinder     = entityService;
     _attributeFinder  = attributeService;
     _attributeUpdater = attributeUpdater;
     _optionSetFinder  = optionSetFinder;
 }
Пример #4
0
 public AttributeController(IWebAppContext appContext
                            , ISolutionService solutionService
                            , IEntityFinder entityFinder
                            , IOptionSetFinder optionSetFinder
                            , IOptionSetDetailFinder optionSetDetailFinder
                            , IStringMapFinder stringMapFinder
                            , IAttributeCreater attributeCreater
                            , IAttributeDeleter attributeDeleter
                            , IAttributeFinder attributeFinder
                            , IAttributeUpdater attributeUpdater)
     : base(appContext, solutionService)
 {
     _entityFinder          = entityFinder;
     _optionSetFinder       = optionSetFinder;
     _optionSetDetailFinder = optionSetDetailFinder;
     _stringMapFinder       = stringMapFinder;
     _attributeCreater      = attributeCreater;
     _attributeDeleter      = attributeDeleter;
     _attributeFinder       = attributeFinder;
     _attributeUpdater      = attributeUpdater;
 }
Пример #5
0
 public static bool TryWithAttributeUpdater(this IDirectory model, out IAttributeUpdater feature)
 {
     Ensure.NotNull(model, "model");
     return(model.TryWith <IAttributeUpdater>(out feature));
 }