public ChangeNounHandler(Nouns.Number changeTo, Dictionary<string, string> toMap)
            : base("Number of Noun Changer",
			       "Change the Number of a Noun (plural or singular)",
			       new StringArgumentType(int.MaxValue, ".+", "buffalo"),
			       changeTo == Nouns.Number.Singular ? LanguageNet.Grammarian.Nouns.SingularNounResultType :
			       LanguageNet.Grammarian.Nouns.PluralNounResultType, 120)
        {
            this.changeTo = changeTo;
            this.toMap = toMap;
        }
Example #2
0
 public ChangeNounHandler(Nouns.Number changeTo, Dictionary <string, string> toMap)
     : base("Number of Noun Changer",
            "Change the Number of a Noun (plural or singular)",
            new StringArgumentType(int.MaxValue, ".+", "buffalo"),
            changeTo == Nouns.Number.Singular ? LanguageNet.Grammarian.Nouns.SingularNounResultType :
            LanguageNet.Grammarian.Nouns.PluralNounResultType, 120)
 {
     this.changeTo = changeTo;
     this.toMap    = toMap;
 }