コード例 #1
0
        public virtual Tense AddTense(string tenseName)
        {
            Tense tense = new Tense();

            tense.Name     = tenseName;
            tense.Language = this;
            Tenses.Add(tense);
            return(tense);
        }
コード例 #2
0
 public virtual void AddTense(Tense tense)
 {
     tense.Language = this;
     Tenses.Add(tense);
 }