public DropBoxFileStream(FileSystemSessionItem item, Action<FileSystemStream> disposeAction) : base(item, disposeAction) { DropBoxFileSystemSession session = item.Session as DropBoxFileSystemSession; if(session == null) throw new NFXException(StringConsts.FS_STREAM_BAD_TYPE_ERROR + GetType() + ".ctor_DropBoxFileSystemSession"); _fileStore = new DropBoxFileStore(session.ConnectParameters); _metadataStore = new DropBoxMetadataStore(session.ConnectParameters); _item = item; }
public DropBoxFileSystem(string name, IConfigSectionNode node = null) : base(name, node) { _fileStore = new DropBoxFileStore(node); _metadataStore = new DropBoxMetadataStore(node); }