コード例 #1
0
 public LocalizationCode(string textCode, LocalizationSourceType sourceType = LocalizationSourceType.Any)
 {
     SourceType = sourceType;
     if (string.IsNullOrWhiteSpace(textCode))
     {
         throw new ArgumentException("Localization code should not be empty", nameof(textCode));
     }
     TextCode = textCode;
 }
コード例 #2
0
 public LocalizationSource(string path, LocalizationSourceType type)
 {
     Path = path;
     Type = type;
 }