public VariableResolver(ILogger logger, IPhoneticConverter phoneticConverter,
                         IStringDistanceEvaluator distanceEvaluator, IVariableProvider variableProvider,
                         ITextTransliterator transliterator)
 {
     _logger            = logger;
     _phoneticConverter = phoneticConverter;
     _distanceEvaluator = distanceEvaluator;
     _variableProvider  = variableProvider;
     _transliterator    = transliterator;
 }
Beispiel #2
0
 public FileVariableProvider(string path, IPhoneticConverter phoneticConverter, ITextTransliterator transliterator)
 {
     Path = path;
     PhoneticConverter = phoneticConverter;
     _transliterator   = transliterator;
 }