using System;
namespace Yavsc.Model.FrontOffice
{
///
/// Euro.
///
public class Euro : Currency
{
///
/// Initializes a new instance of the class.
///
public Euro ()
{
}
///
/// Gets the name.
///
/// The name.
public override string Name {
get {
return "Euro";
}
}
///
/// Gets the description.
///
/// The description.
public override string Description {
get {
return "European currency";
}
}
///
/// Maies the convert to.
///
/// true, if convert to was mayed, false otherwise.
/// Other.
public override bool MayConvertTo (Unit other)
{
return other.GetType().IsSubclassOf(typeof (Currency));
}
///
/// Converts to.
///
/// The to.
/// Destination.
/// Value.
public override object ConvertTo (Unit dest, object value)
{
throw new NotImplementedException();
}
}
}