Ejemplo n.º 1
0
 public Decorator.VFS GetVFS()
 {
     using (var result = new Decorator.VFS(Constants.DATA_IDX, _VFSModeAdapter.GetStringVFSMode(VFSMode.Read)))
     {
         return(result);
     }
 }
Ejemplo n.º 2
0
 public VFSStream GetVFSStream(Decorator.VFS vfs)
 {
     Validations.NotNull(vfs);
     using (var result = new VFSStream(vfs))
     {
         return(result);
     }
 }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
 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>();
 }
Ejemplo n.º 5
0
 public VFSExtractFacade(VFSFactory vfsFactory, VFSModeAdapterFacory vfsModeAdapterFacory, Decorator.VFS vfs)
     : base(vfsFactory, vfsModeAdapterFacory, vfs)
 {
     _vfsExtract = new VFSExtract();
 }