public Decorator.VFS GetVFS() { using (var result = new Decorator.VFS(Constants.DATA_IDX, _VFSModeAdapter.GetStringVFSMode(VFSMode.Read))) { return(result); } }
public VFSStream GetVFSStream(Decorator.VFS vfs) { Validations.NotNull(vfs); using (var result = new VFSStream(vfs)) { return(result); } }
public VFSFacadeBase(VFSFactory vfsFactory, VFSModeAdapterFacory vfsModeAdapterFacory, Decorator.VFS vfs) { _vfsFactory = Validations.NotNull(vfsFactory); _vfsModeAdapterFacory = Validations.NotNull(vfsModeAdapterFacory); _vfs = Validations.NotNull(vfs); //_vfsModeAdapterFacory = new VFSModeAdapterFacory(); //_vfsFactory = new VFSFactory(_vfsModeAdapterFacory); //_vfs = _vfsFactory.GetVFS(); }
public VFSReadFacade(VFSFactory vfsFactory, VFSModeAdapterFacory vfsModeAdapterFacory, Decorator.VFS vfs) : base(vfsFactory, vfsModeAdapterFacory, vfs) { _vfsStream = _vfsFactory.GetVFSStream(_vfs); VFSFileNames = new ArraySegment <string>(); VFSModel = new ArraySegment <VFSModel>(); }
public VFSExtractFacade(VFSFactory vfsFactory, VFSModeAdapterFacory vfsModeAdapterFacory, Decorator.VFS vfs) : base(vfsFactory, vfsModeAdapterFacory, vfs) { _vfsExtract = new VFSExtract(); }