Esempio n. 1
0
        public ScheduleController(IConfigurationFacade configuration)
        {
            _ruleEngine           = configuration.RuleEngine;
            _whiteSpaceCalculator = configuration.WhiteSpaceCalculator;
            _noteExtractor        = configuration.NoteExtractor;

            ScheduleEntries = new List <ScheduleEntry>();
        }
Esempio n. 2
0
 public void Process(INoteExtractor noteExtractor, string[] columns)
 {
     if (columns != null && columns.Length == 4)
     {
         _scheduleEntry.SetEntryNumber(ScheduleEntryLine.GetEntryNumber(columns[0]));
         _scheduleEntry.SetRegistrationDateAndPlanRef(columns[0]);
         _scheduleEntry.SetPropertyDescription(columns[1]);
         _scheduleEntry.SetDateOfLeaseAndTerm(columns[2]);
         _scheduleEntry.SetLesseeTitle(columns[3]);
         _scheduleEntry.SetNote(noteExtractor);
     }
 }
Esempio n. 3
0
 public EntryTextColumnBuilder(IDataEngineColumnRuleEngine dataEngineColumnRuleEngine, IWhiteSpaceSizeCalculator whiteSpaceCalculator, INoteExtractor noteExtractor)
 {
     _dataEngineColumnRuleEngine = dataEngineColumnRuleEngine;
     _whiteSpaceCalculator       = whiteSpaceCalculator;
     _noteExtractor = noteExtractor;
 }
Esempio n. 4
0
 public void SetNote(INoteExtractor noteExtractor)
 {
     Note = noteExtractor.Extract(EntryText);
 }