public ResolveVersionedEntityBlock( FindEntityCommand findEntityCommand, AddEntityVersionCommand addEntityVersionCommand) { _findEntityCommand = findEntityCommand; _addEntityVersionCommand = addEntityVersionCommand; }
public CategoryManager(CommerceCommander commander, GetCategoryCommand getCategoryCommand, CreateCategoryCommand createCategoryCommand, AssociateCategoryToParentCommand associateCategoryToParentCommand, FindEntityCommand findEntityCommand, CreateRelationshipPipeline createRelationshipPipeline, AddEntityVersionCommand addEntityVersionCommand) { this._commander = commander; this._getCategoryCommand = getCategoryCommand; this._createCategoryCommand = createCategoryCommand; this._associateCategoryToParentCommand = associateCategoryToParentCommand; this._findEntityCommand = findEntityCommand; this._createRelationshipPipeline = createRelationshipPipeline; this._addEntityVersionCommand = addEntityVersionCommand; }