private string GetGrammarResourceString(string resource) { return(SpeechResourceMap.GetValue(resource, _speechContext).ValueAsString); }
string FromResource(string resourceKey) => SpeechResourceMap.GetValue(resourceKey, _speechContext).ValueAsString;