/// <summary> /// К-тор. /// </summary> /// <param name="fileAdapter">Адаптер метаданных файлов.</param> internal FileVersionsAdapter(FileAdapter fileAdapter) : base(fileAdapter.MetadataAdapter) { if (fileAdapter == null) { throw new ArgumentNullException("fileAdapter"); } this.FileAdapter = fileAdapter; }
/// <summary> /// К-тор. /// </summary> /// <param name="row">Данные.</param> /// <param name="adapter">Адаптер метаданных файла.</param> internal FileMetadata(DataRow row, FileAdapter adapter) { if (row == null) { throw new ArgumentNullException("row"); } if (adapter == null) { throw new ArgumentNullException("adapter"); } this.MetadataRow = row; this.Adapter = adapter; }
/// <summary> /// К-тор. /// </summary> /// <param name="row">Данные.</param> /// <param name="adapter">Адаптер метаданных файла.</param> /// <param name="folderMetadata">Метаданные папки.</param> internal FileMetadata(DataRow row, FileAdapter adapter, IFolderMetadata folderMetadata) { if (row == null) { throw new ArgumentNullException("row"); } if (adapter == null) { throw new ArgumentNullException("adapter"); } if (folderMetadata == null) { throw new ArgumentNullException("folderMetadata"); } this.FolderMetadata = folderMetadata; this.MetadataRow = row; this.Adapter = adapter; }