using System; namespace Claunia.Localization.Core { /// /// Contains the plural forms of a string /// public class Plural { int items; internal EventHandler Modified; string text; /// /// Minimum number (inclusive) of items named to use this plural form /// public int Items { get => items; set { items = value; Modified?.Invoke(this, EventArgs.Empty); } } /// /// Plural form of the string /// public string Text { get => text; set { text = value; Modified?.Invoke(this, EventArgs.Empty); } } } }