public ContentHashValidator(
     IHashProvider hashProvider,
     IHashStringProvider hashStringProvider)
 {
     _hashProvider       = hashProvider;
     _hashStringProvider = hashStringProvider;
 }
示例#2
0
        public ContentStorageContainer(string containerName,
                                       IContentStorageHost contentStorageHost,
                                       IContentNameProvider contentNameProvider,
                                       IConfigurationSettings configurationSettings,
                                       IContentIdentifierGenerator contentIdentifierGenerator,
                                       IDocumentIDUploadInfoProvider documentIDUploadInfoProvider,
                                       IDocumentMultiPartIDUploadInfoProvider documentMultiPartIDUploadInfoProvider,
                                       IContentIdentifierSerializer contentIdentifierSerializer,
                                       IDocumentIdentifierSerializer documentIdentifierSerializer,
                                       IDocumentIdentifierProvider documentIdentifierProvider,
                                       IUploadIdentifierSerializer uploadIdentifierSerializer,
                                       IUploadIdentifierProvider uploadIdentifierProvider,
                                       IDocumentUploadInfoFactory documentUploadInfoFactory,
                                       IDocumentMultiPartUploadInfoFactory documentMultiPartUploadInfoFactory,
                                       IIDUploadInfoProvider idUploadInfoProvider,
                                       IHashProvider hashProvider,
                                       IHashStringProvider hashStringProvider,
                                       ISerializer serializer,
                                       IMultiPartIDUploadInfoProvider multiPartIDUploadInfoProvider,
                                       IUploadInfoFactory uploadInfoFactory,
                                       IContainerStateRepository containerStateRepository,
                                       ISystemContainerProvider systemContainerProvider,
                                       IAuthorizationChecker authorizationChecker,
                                       IContentNamesRepository committedContentNamesRepository,
                                       IContentMonthProvider contentMonthProvider,
                                       IContentsMonthHashProvider contentsMonthHashProvider,
                                       IContentsMonthHashRepository contentsMonthHashRepository,
                                       IContentIdentifiersProvider contentIdentifiersProvider)
        {
            _containerName = containerName;

            _contentStorageHost                    = contentStorageHost;
            _contentNameProvider                   = contentNameProvider;
            _configurationSettings                 = configurationSettings;
            _contentIdentifierGenerator            = contentIdentifierGenerator;
            _documentIDUploadInfoProvider          = documentIDUploadInfoProvider;
            _documentMultiPartIDUploadInfoProvider = documentMultiPartIDUploadInfoProvider;
            _contentIdentifierSerializer           = contentIdentifierSerializer;
            _documentIdentifierSerializer          = documentIdentifierSerializer;
            _documentIdentifierProvider            = documentIdentifierProvider;
            _uploadIdentifierSerializer            = uploadIdentifierSerializer;
            _uploadIdentifierProvider              = uploadIdentifierProvider;
            _documentUploadInfoFactory             = documentUploadInfoFactory;
            _documentMultiPartUploadInfoFactory    = documentMultiPartUploadInfoFactory;
            _idUploadInfoProvider                  = idUploadInfoProvider;
            _hashProvider                    = hashProvider;
            _hashStringProvider              = hashStringProvider;
            _serializer                      = serializer;
            _multiPartIDUploadInfoProvider   = multiPartIDUploadInfoProvider;
            _uploadInfoFactory               = uploadInfoFactory;
            _containerStateRepository        = containerStateRepository;
            _systemContainerProvider         = systemContainerProvider;
            _authorizationChecker            = authorizationChecker;
            _committedContentNamesRepository = committedContentNamesRepository;
            _contentMonthProvider            = contentMonthProvider;
            _contentsMonthHashProvider       = contentsMonthHashProvider;
            _contentsMonthHashRepository     = contentsMonthHashRepository;
            _contentIdentifiersProvider      = contentIdentifiersProvider;
        }
示例#3
0
 public ContentsMonthHashRepository(
     ISystemContainerProvider systemContainerProvider,
     IHashStringProvider hashStringProvider,
     IMonthHashAndCountFactory monthHashAndCountFactory)
 {
     _systemContainerProvider  = systemContainerProvider;
     _hashStringProvider       = hashStringProvider;
     _monthHashAndCountFactory = monthHashAndCountFactory;
 }
 public FileSystemSource(string id,
                         IContainer container,
                         IHashProvider hashProvider,
                         IHashStringProvider hashStringProvider,
                         IContentsMonthHashProvider contentsMonthHashProvider,
                         IContentIdentifiersProvider contentIdentifiersProvider,
                         IContentStreamFactory contentStreamFactory)
     : base(id, container, hashProvider, hashStringProvider, contentsMonthHashProvider, contentIdentifiersProvider)
 {
     _contentStreamFactory = contentStreamFactory;
 }
 public FileSystemDestination(
     string id,
     IContainer container,
     IHashProvider hashProvider,
     IHashStringProvider hashStringProvider,
     IContentsMonthHashProvider contentsMonthHashProvider,
     IContentIdentifiersProvider contentIdentifiersProvider,
     IContentIdentifierGenerator contentIdentifierGenerator)
     : base(id, container, hashProvider, hashStringProvider, contentsMonthHashProvider, contentIdentifiersProvider)
 {
     _contentIdentifierGenerator = contentIdentifierGenerator;
 }
示例#6
0
 public FileSystemEndpoint(string id,
                           IContainer container,
                           IHashProvider hashProvider,
                           IHashStringProvider hashStringProvider,
                           IContentsMonthHashProvider contentsMonthHashProvider,
                           IContentIdentifiersProvider contentIdentifiersProvider)
 {
     ID                          = id;
     Container                   = container;
     _hashProvider               = hashProvider;
     _hashStringProvider         = hashStringProvider;
     _contentsMonthHashProvider  = contentsMonthHashProvider;
     _contentIdentifiersProvider = contentIdentifiersProvider;
 }