Exemple #1
0
        public Window.Window GetWindowByName(string name)
        {
            var fetcher    = _container.Resolve <Window.IFetcher>();
            var filter     = _container.Resolve <Window.IFilter>();
            var repository = new Window.Repository(fetcher, filter);

            return(repository.FindByName(name));
        }
Exemple #2
0
        public IReadOnlyList <Window.Window> GetWindows()
        {
            var fetcher    = _container.Resolve <Window.IFetcher>();
            var filter     = _container.Resolve <Window.IFilter>();
            var repository = new Window.Repository(fetcher, filter);

            return(repository.GetAll());
        }