/// <summary> /// Initializes a new instance of the <see cref="AssetAppService"/> class. /// </summary> /// <param name="AssetManager">The asset manager.</param> /// <param name="VideoManager">The video manager.</param> /// <param name="objectMapper">The object mapper.</param> /// <param name="cacheService">The cache service.</param> /// <param name="exceptionManager">The exception manager.</param> /// <param name="loggingService">The logging service.</param> public AssetAppService( IAssetDomainService assetManager, IUnitDomainService unitManager, IVideoDomainService videoManager, IObjectMapperAdapter objectMapper, ICacheAdapter cacheService, IFileManagerAdapter fileManager, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService) : base(objectMapper, cacheService, exceptionManager, loggingService) { this.AssetManager = assetManager; this.UnitManager = unitManager; this.VideoManager = videoManager; this.FileManager = fileManager; }
public AssetExchangeCommandHandler( IUnitOfWork unitOfWork, IBus bus, INotificationHandler <DomainNotification> notifications, IOrganizationRepository organizationRepository, IAssetRepository assetRepository, IAssetExchangeRepository assetExchangeRepository, IAssetDomainService assetDomainService, IUser user) : base(unitOfWork, bus, notifications) { _organizationRepository = organizationRepository; _assetRepository = assetRepository; _assetExchangeRepository = assetExchangeRepository; _assetDomainService = assetDomainService; _user = user; }
/// <summary> /// Students the domain service. /// </summary> /// <param name="taskRepository">The task repository.</param> /// <param name="exceptionManager">The exception manager.</param> /// <param name="loggingService">The logging service.</param> public UnitDomainService(IUnitRepository unitRepository, IAssetDomainService assetManager, IExceptionManagerAdapter exceptionManager, ILoggingServiceAdapter loggingService) : base(unitRepository, exceptionManager, loggingService) { UnitRepository = unitRepository; AssetManager = assetManager; }