public static List <Category> GetCategoriesFromStr() { TestRulesRepository repo = new TestRulesRepository(); var categories = repo.GetCategoriesFromFile(_categoryRawList); return(categories); }
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); }
public static List <Rule> GetTestRules() { TestRulesRepository testRulesRepo = new TestRulesRepository(); return(testRulesRepo.GetRules()); }