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 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(); }
#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); }
public VFSExtractFacade(VFSFactory vfsFactory, VFSModeAdapterFacory vfsModeAdapterFacory, Decorator.VFS vfs) : base(vfsFactory, vfsModeAdapterFacory, vfs) { _vfsExtract = new VFSExtract(); }