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