public LanguageEntry(CultureData language) { if (language == null) { throw new ArgumentNullException(nameof(language)); } this.language = language; }
public Word(string name, CultureData language) : base(language) { if (string.IsNullOrWhiteSpace(name)) { throw new ArgumentNullException(nameof(name)); } this.name = name; }
public LanguageWordList(CultureData language, IReadOnlyList <string> words) : base(language) { if (words == null) { throw new ArgumentNullException(nameof(words)); } this.words = words; }
protected abstract TResult BuildResult(CultureData language, IReadOnlyList <string> words);
protected override Translation BuildResult(CultureData language, IReadOnlyList <string> words) { return(new Translation(language, words)); }
public GrapeVariety(CultureData language, IReadOnlyList<string> words) : base(language, words) { }
protected override LinkedData BuildResult(CultureData language, IReadOnlyList <string> words) { return(new WikipediaCategory(language, words)); }
public InstanceOf(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
protected override LinkedData BuildResult(CultureData language, IReadOnlyList <string> words) { return(new PnnsGroup(language, words, this.group)); }
public Synonym(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
protected override Synonym BuildResult(CultureData language, IReadOnlyList <string> words) { return(new Synonym(language, words)); }
public Label(CultureData language, IReadOnlyList<string> words) : base(language, words) { }
public PnnsGroup(CultureData language, IReadOnlyList<string> words, int group) : base(language, words) { PnnsGroupValidator.EnsureIsInRange(group); this.group = group; }
protected LinkedData(CultureData language, IReadOnlyList<string> words) : base(language, words) { }
public Country(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
public Region(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
public static IEnumerable<TranslationSet> HasNoEntryInCulture(this IEnumerable<TranslationSet> source, CultureData culture) { return source.Where(ts => !ts.Translations.Any(t => t.Language == culture)); }
public GrapeVariety(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
public WikidataCategory(CultureData language, IReadOnlyList<string> words) : base(language, words) { }
public InstanceOf(CultureData language, IReadOnlyList<string> words) : base(language, words) { }
public Wikidata(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
public PnnsGroup(CultureData language, IReadOnlyList <string> words, int group) : base(language, words) { PnnsGroupValidator.EnsureIsInRange(group); this.group = group; }
public WikipediaCategory(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
protected override LinkedData BuildResult(CultureData language, IReadOnlyList <string> words) { return(new Region(language, words)); }
public StopWords(CultureData language, IReadOnlyList <string> words) : base(language, words) { }
protected override LinkedData BuildResult(CultureData language, IReadOnlyList<string> words) { return new InstanceOf(language, words); }
public Country(CultureData language, IReadOnlyList<string> words) : base(language, words) { }