public Measure( GenderAndCount genderAndCount, string nominativeUnit, string genderUnit, string genderPlural) { this._genderAndCount = genderAndCount; this._nominativeUnit = nominativeUnit; this._genderUnit = genderUnit; this._genderPlural = genderPlural; }
public override void Formulation(ToWordBuilder toWordBuilder, uint numberOfUnits, GenderAndCount gender) { toWordBuilder.Append(this._name); if (numberOfUnits == 0) { } // else { toWordBuilder.Append(FormulationOfNumber(numberOfUnits, gender)); } }
protected virtual string FormulationOfNumber(uint number, GenderAndCount gender) { return(Context.Numbers[number].Formulation(gender)); }
public abstract void Formulation(ToWordBuilder toWordBuilder, uint numberOfUnits, GenderAndCount gender);
public override string Formulation(GenderAndCount genderAndCount) { return(genderAndCount.GetForm(this)); }
public override string Formulation(GenderAndCount genderAndCount) { return(_formulation); }
public abstract string Formulation(GenderAndCount genderAndCount);