public string Convert(ITextConvertor convertor, string rawText) { ParagraphReader reader = new ParagraphReader(); ParagraphText paragraph = reader.ReadParagraph(rawText); return(convertor.Convert(paragraph)); }
public StressTestHandler(int numberOfThreads, string path, ITextConvertor textConvertor) { this.textConvertor = textConvertor; NumberOfThreads = numberOfThreads; Path = path; ZkActions = MainWindow.ZkActions; KeepRunning = true; }
public void Add(int fieldIndex, ITextConvertor convertorType, FieldInfo fieldInfo) { FieldDictionary.Add(fieldIndex, new FieldMapInfo(convertorType, fieldInfo)); }
public FieldMapInfo(ITextConvertor convertorType, FieldInfo fieldInfo) { Convertor = convertorType; FieldInfo = fieldInfo; }
protected FieldBaseAttribute(string name, ITextConvertor convertor) { FieldName = name; Convertor = convertor; }
public FieldMapInfo(ITextConvertor convertorType, TypeAccessor typeAccessor, string propertyName) { Convertor = convertorType; _typeAccessor = typeAccessor; _propertyName = propertyName; }
public Field(ITextConvertor convertorType, PropertyInfo propertyInfo) { Convertor = convertorType; FieldInfo = propertyInfo; }
public AmountToTextService(ITextConvertor textConvertor) { _textConvertor = textConvertor; }