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);
     }
 }
Beispiel #2
0
        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));
            }
        }
Beispiel #3
0
 public Vocable(string Foreign, string Local, VocableKind Kind) : this(Foreign, Local)
 {
     this.Kind = Kind;
 }
Beispiel #4
0
 public Adjective(string Foreign, string Local, VocableKind Kind)
     : base(Foreign, Local, Kind)
 {
 }
Beispiel #5
0
 public Vocable(string Foreign, string Local, VocableKind Kind)
     : this(Foreign, Local)
 {
     this.Kind = Kind;
 }
Beispiel #6
0
 public AdjectiveVerb(string Foreign, string Local, VocableKind Kind) : base(Foreign, Local, Kind)
 {
 }