コード例 #1
0
 public static DictionaryNodeOptions GetWsOptionsForLanguageswithDisplayWsAbbrev(string[] languages,
                                                                                 DictionaryNodeWritingSystemOptions.WritingSystemType type = 0)
 {
     return(new DictionaryNodeWritingSystemOptions
     {
         Options = DictionaryDetailsControllerTests.ListOfEnabledDNOsFromStrings(languages),
         DisplayWritingSystemAbbreviations = true,
         WsType = type
     });
 }
コード例 #2
0
 public static DictionaryNodeOptions GetWsOptionsForLanguages(string[] languages, DictionaryNodeWritingSystemOptions.WritingSystemType type)
 {
     return(new DictionaryNodeWritingSystemOptions
     {
         Options = DictionaryDetailsControllerTests.ListOfEnabledDNOsFromStrings(languages),
         WsType = type
     });
 }