using System; namespace Yavsc.Model.FrontOffice.Catalog { /// /// Unit. /// public abstract class Unit { /// /// Gets the name. /// /// The name. public abstract string Name { get; } /// /// Gets the description. /// /// The description. public abstract string Description { get; } /// /// Converts to. /// /// The to. /// Destination. /// Value. public abstract object ConvertTo (Unit dest, object value); /// /// Maies the convert to. /// /// true, if convert to was mayed, false otherwise. /// Other. public abstract bool MayConvertTo (Unit other); } }