public static Vocable CreateVocable(string Foreign, string Local, VocableKind Kind) { switch (Kind) { case VocableKind.Verb: return new Verb(Foreign, Local, Kind); case VocableKind.Adjective: return new Adjective(Foreign, Local, Kind); default: return new Vocable(Foreign, Local, Kind); } }
public static Vocable CreateVocable(string Foreign, string Local, VocableKind Kind) { switch (Kind) { case VocableKind.Verb: return(new Verb(Foreign, Local, Kind)); case VocableKind.Adjective: return(new Adjective(Foreign, Local, Kind)); default: return(new Vocable(Foreign, Local, Kind)); } }
public Vocable(string Foreign, string Local, VocableKind Kind) : this(Foreign, Local) { this.Kind = Kind; }
public Adjective(string Foreign, string Local, VocableKind Kind) : base(Foreign, Local, Kind) { }
public AdjectiveVerb(string Foreign, string Local, VocableKind Kind) : base(Foreign, Local, Kind) { }