示例#1
0
        public static List <Category> GetCategoriesFromStr()
        {
            TestRulesRepository repo = new TestRulesRepository();
            var categories           = repo.GetCategoriesFromFile(_categoryRawList);

            return(categories);
        }
示例#2
0
        public FormReports(IEventAggregator eventAggregator, AppEngine engine)
        {
            _eventAggregator = eventAggregator;
            _engine          = engine;


            FilePathProvider  = new FilePathProvider();
            RulesProvider     = new TestRulesRepository();
            TransactionParser = new IngCsvFileParser();

            InitializeComponent();
            EventAttacher.Instance.AttachEvents(this, this);
        }
示例#3
0
        public static List <Rule> GetTestRules()
        {
            TestRulesRepository testRulesRepo = new TestRulesRepository();

            return(testRulesRepo.GetRules());
        }