Пример #1
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>();
 }
Пример #2
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();
        }
Пример #3
0
#pragma warning restore IDE0069
        public Form1()
        {
            InitializeComponent();
            _vfsModeAdapterFacory = new VFSModeAdapterFacory();
            _vfsFactory           = new VFSFactory(_vfsModeAdapterFacory);
            _vfs = _vfsFactory.GetVFS();

            InitializeVFSReadFacade();
            InitializeExtractVFS();
            LoadVFS();

            contextMenu.MenuItems.Add(exportMenuItem);
            exportMenuItem.Click += new EventHandler(ExportMenuItem_Click);
        }
Пример #4
0
 public VFSExtractFacade(VFSFactory vfsFactory, VFSModeAdapterFacory vfsModeAdapterFacory, Decorator.VFS vfs)
     : base(vfsFactory, vfsModeAdapterFacory, vfs)
 {
     _vfsExtract = new VFSExtract();
 }