public IEnumerable <string> Extract(IExtractData extractData) { var sourceThousandsSeparators = extractData.Settings.GetSourceThousandSeparators(); var targetThousandSeparators = extractData.Settings.GetTargetThousandSeparators(); return(sourceThousandsSeparators.Concat(targetThousandSeparators)); }
public IEnumerable <string> Extract(IExtractData extractData) { if (Specification.IsSatisfiedBy(extractData)) { return(TruthProcessor.Extract(extractData)); } return(Enumerable.Empty <string>()); }
public IEnumerable <string> Extract(IExtractData extractData) { var defaultSelectedSeparators = (from n in Nodes from r in n.Extract(extractData) select r).ToList(); return(defaultSelectedSeparators.Contains("'") ? defaultSelectedSeparators.Concat(new[] { @"\u2019", @"\u2027" }) : defaultSelectedSeparators); }
public bool IsSatisfiedBy(IExtractData numberExtractResults) { //char[] dashSign = { '-', '\u2013', '\u2212' }; //char[] space = { ' ', '\u00a0', '\u2009', '\u202F' }; //if (numberExtractResults.Text.IndexOfAny(dashSign) == 0 && // numberExtractResults.Text.IndexOfAny(space) == 1) //{ // return true; //} return(false); }
public IEnumerable <string> Extract(IExtractData extractData) { return(extractData.Settings.GetTargetThousandSeparators()); }
public IEnumerable <string> Extract(IExtractData extractData) { return((from n in Nodes from r in n.Extract(extractData) select r).ToList().Distinct()); }
public static void SetExtractData(this BuildContext context, IExtractData extractData) { context.SetItem(ETL_EXTRACT_DATA, extractData); }
public IEnumerable <string> Extract(IExtractData extractData) { return(extractData.Settings.GetSourceDecimalSeparators()); }
public bool IsSatisfiedBy(IExtractData numberExtractResults) { return(Specifications.Any(s => s.IsSatisfiedBy(numberExtractResults))); }
public bool IsSatisfiedBy(IExtractData numberExtractResults) { return(numberExtractResults.Settings.SourceOmitLeadingZero); }
public bool IsSatisfiedBy(IExtractData numberExtractResults) { return(numberExtractResults.Settings.AllowLocalizations); }
public IEnumerable <string> Extract(IExtractData extractData) { return(from n in this.Nodes from r in n.Extract(extractData) select r); }
public ExpenseController(IExtractData extractDataService, ICalculateGST calculationService) { this._calculationService = calculationService; this._extractDataService = extractDataService; }