Esempio n. 1
0
 public ContentIdentifiersProvider(
     IContentNameProvider contentNameProvider,
     IContentIdentifierGenerator contentIdentifierGenerator)
 {
     _contentNameProvider        = contentNameProvider;
     _contentIdentifierGenerator = contentIdentifierGenerator;
 }
Esempio n. 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;
        }
Esempio n. 3
0
 public ContentsMonthHashProvider(
     IContentIdentifierGenerator contentIdentifierGenerator,
     IContentMonthProvider contentMonthProvider,
     IHashProvider hashProvider,
     IMonthHashAndCountFactory monthHashAndCountFactory)
 {
     _contentIdentifierGenerator = contentIdentifierGenerator;
     _contentMonthProvider       = contentMonthProvider;
     _hashProvider             = hashProvider;
     _monthHashAndCountFactory = monthHashAndCountFactory;
 }
 public ContainerStateRepository(
     IContentIdentifierGenerator contentIdentifierGenerator,
     ISystemContainerProvider systemContainerProvider,
     IContainerStateFactory containerStateFactory,
     ISerializer serializer)
 {
     _contentIdentifierGenerator = contentIdentifierGenerator;
     _systemContainerProvider    = systemContainerProvider;
     _containerStateFactory      = containerStateFactory;
     _serializer = serializer;
 }
 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;
 }
Esempio n. 6
0
 public ContentStorageUsersRepository(
     ISystemContainerProvider systemContainerProvider,
     IUserFactory userFactory,
     ISerializer serializer,
     IContentIdentifierGenerator contentIdentifierGenerator,
     IAuthorizationChecker authorizationChecker)
 {
     _systemContainerProvider = systemContainerProvider;
     _userFactory             = userFactory;
     _serializer = serializer;
     _contentIdentifierGenerator = contentIdentifierGenerator;
     _authorizationChecker       = authorizationChecker;
 }
 public FileSystemContainer(string root, string dirName,
                            IFileSystemContentFactory fileSystemContentFactory,
                            IContentNameProvider contentNameProvider,
                            IContentIdentifierGenerator contentIdentifierGenerator,
                            IContentHashValidator contentHashValidator,
                            IFileSystemFullFileNameProvider fileSystemFullFileNameProvider)
 {
     _root    = root;
     _dirName = dirName;
     _fileSystemContentFactory       = fileSystemContentFactory;
     _contentNameProvider            = contentNameProvider;
     _contentIdentifierGenerator     = contentIdentifierGenerator;
     _contentHashValidator           = contentHashValidator;
     _fileSystemFullFileNameProvider = fileSystemFullFileNameProvider;
 }
 public AzureContainer(
     Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer delegateContainer,
     string rootPath,
     IAzureContentFactory azureContentFactory,
     IContentNameProvider contentNameProvider,
     IContentIdentifierGenerator contentIdentifierGenerator,
     IContentHashValidator contentHashValidator)
 {
     _delegateContainer          = delegateContainer;
     _rootPath                   = rootPath;
     _azureContentFactory        = azureContentFactory;
     _contentNameProvider        = contentNameProvider;
     _contentIdentifierGenerator = contentIdentifierGenerator;
     _contentHashValidator       = contentHashValidator;
 }
Esempio n. 9
0
 public AmazonContainer(string bucketName, string directoryName,
                        Amazon.S3.IAmazonS3 amazonS3,
                        IAmazonContentFactory amazonContentFactory,
                        IContentNameProvider contentNameProvider,
                        IContentIdentifierGenerator contentIdentifierGenerator,
                        IContentHashValidator contentHashValidator)
 {
     _bucketName                 = bucketName;
     _directoryName              = directoryName;
     _amazonS3                   = amazonS3;
     _amazonContentFactory       = amazonContentFactory;
     _contentNameProvider        = contentNameProvider;
     _contentIdentifierGenerator = contentIdentifierGenerator;
     _contentHashValidator       = contentHashValidator;
 }