Beispiel #1
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;
        }
Beispiel #2
0
 public ContentStorageUploader(
     ISerializer serializer,
     IContentIdentifierSerializer contentIdentifierSerializer,
     IContentStorageServiceURLProvider contentStorageServiceURLProvider)
 {
     _serializer = serializer;
     _contentIdentifierSerializer      = contentIdentifierSerializer;
     _contentStorageServiceURLProvider = contentStorageServiceURLProvider;
 }
Beispiel #3
0
 public ContentStorageDestination(string containerName, string authenticationToken,
                                  string contentStorageServiceURL,
                                  IContentStorageServiceURLProvider contentStorageServiceURLProvider,
                                  IContentIdentifierSerializer contentIdentifierSerializer,
                                  ISerializer serializer,
                                  IContentStorageUploader contentStorageUploader)
     : base(containerName, authenticationToken, contentStorageServiceURL, contentStorageServiceURLProvider, contentIdentifierSerializer, serializer)
 {
     _contentStorageUploader = contentStorageUploader;
 }
 public ContentStorageSource(string containerName, string authenticationToken,
                             string contentStorageServiceURL,
                             IContentStorageServiceURLProvider contentStorageServiceURLProvider,
                             IContentIdentifierSerializer contentIdentifierSerializer,
                             ISerializer serializer,
                             IContentStreamFactory contentStreamFactory)
     : base(containerName, authenticationToken, contentStorageServiceURL, contentStorageServiceURLProvider, contentIdentifierSerializer, serializer)
 {
     _contentStreamFactory = contentStreamFactory;
 }
Beispiel #5
0
        public ContentStorageEndpoint(string containerName, string authenticationToken,
                                      string contentStorageServiceURL,
                                      IContentStorageServiceURLProvider contentStorageServiceURLProvider,
                                      IContentIdentifierSerializer contentIdentifierSerializer,
                                      ISerializer serializer)
        {
            ContainerName       = containerName;
            AuthenticationToken = authenticationToken;

            ContentStorageServiceURL         = contentStorageServiceURL;
            ContentStorageServiceURLProvider = contentStorageServiceURLProvider;
            ContentIdentifierSerializer      = contentIdentifierSerializer;
            Serializer = serializer;
        }