Exemplo n.º 1
0
 public BinService(IStoredFolderRepository <StoredFolderModelBussines <int>, int> storedFolderRepository,
                   IStoredFileRepository <StoredFileModelBussines <int>, int> storedFileRepository,
                   ISignalRCommunicationService signalRCommunicationService,
                   INotificationRepository <NotificationModelBussines <int>, int> notificationRepository,
                   ISubscriptionCapacityService subscriptionCapacityService
                   )
 {
     this._storedFolderRepository      = storedFolderRepository;
     this._storedFileRepository        = storedFileRepository;
     this._signalRCommunicationService = signalRCommunicationService;
     this._notificationRepository      = notificationRepository;
     this._subscriptionCapacityService = subscriptionCapacityService;
 }
 public StoredFileService(IStoredFileRepository <StoredFileModelBussines <int>, int> storedFileRepository,
                          IStoredFolderRepository <StoredFolderModelBussines <int>, int> storedFolderRepository,
                          IAccountSubscriptionRepository <AccountSubscriptionModelBussines <int>, int> accountSubscriptionRepository,
                          IRootFolderRepository <RootFolderModelBussines <int>, int> rootFolderRepository,
                          ISubscriptionCapacityService subscriptionCapacityService,
                          HostingEnvironmentHelper hostingEnvironmentHelper,
                          ThumbnailHelper thumbnailHelper
                          )
 {
     this._storedFileRepository          = storedFileRepository;
     this._storedFolderRepository        = storedFolderRepository;
     this._accountSubscriptionRepository = accountSubscriptionRepository;
     this._rootFolderRepository          = rootFolderRepository;
     this._hostingEnvironmentHelper      = hostingEnvironmentHelper;
     this._thumbnailHelper             = thumbnailHelper;
     this._subscriptionCapacityService = subscriptionCapacityService;
 }