Exemplo n.º 1
0
 public WindowManager(
     IConfiguration configuration,
     IIoRepository repository)
 {
     IocContainer   = Heamatite.ImageViewer.App.Container;
     Config         = configuration;
     FileRepository = repository;
 }
Exemplo n.º 2
0
		public WindowManager(
			IConfiguration configuration, 
			IIoRepository repository)
		{
			IocContainer = Heamatite.ImageViewer.App.Container;
			Config = configuration;
			FileRepository = repository;
		}
Exemplo n.º 3
0
		public MainPresenter(
			IWindowManager windowManager,
			IMainView view,
			IConfiguration config,
			IIoRepository repository,
			IconCacheQueue iconCacheQueue)
		{
			_WindowManager = windowManager;
			_View = view;
			_Config = config;
			_Repo = repository;
			_IconCacheQueue = iconCacheQueue;
			string currentDirectory = _Config.StartupDirectory ?? Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
			_CurrentDirectory = _Repo.GetDirectory(currentDirectory);
			SetupView(currentDirectory);
		}
Exemplo n.º 4
0
        public MainPresenter(
            IWindowManager windowManager,
            IMainView view,
            IConfiguration config,
            IIoRepository repository,
            IconCacheQueue iconCacheQueue)
        {
            _WindowManager  = windowManager;
            _View           = view;
            _Config         = config;
            _Repo           = repository;
            _IconCacheQueue = iconCacheQueue;
            string currentDirectory = _Config.StartupDirectory ?? Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);

            _CurrentDirectory = _Repo.GetDirectory(currentDirectory);
            SetupView(currentDirectory);
        }
		public FileObject(FileInfo file, IIoRepository repository)
			: base(file, repository)
		{
		}
		public DirectoryObject(DirectoryInfo directory, IIoRepository repository)
			: base(directory, repository)
		{
		}
		public FileSystemObject(FileSystemInfo fileSystemInfo, IIoRepository repository)
		{
			FileSystemInfo = fileSystemInfo;
			_Repository = repository;
		}
Exemplo n.º 8
0
		public ZipFileObject(System.IO.FileInfo file, IIoRepository repository)
			: base(file, repository)
		{
			_ZipFile =  new ZipFile(file.FullName);
			
		}
 public FileObject(FileInfo file, IIoRepository repository)
     : base(file, repository)
 {
 }
 public DirectoryObject(DirectoryInfo directory, IIoRepository repository)
     : base(directory, repository)
 {
 }
 public FileSystemObject(FileSystemInfo fileSystemInfo, IIoRepository repository)
 {
     FileSystemInfo = fileSystemInfo;
     _Repository    = repository;
 }
Exemplo n.º 12
0
 public ZipFileObject(System.IO.FileInfo file, IIoRepository repository)
     : base(file, repository)
 {
     _ZipFile = new ZipFile(file.FullName);
 }