Files
yavsc/SalesCatalog/Model/Euro.cs
Paul Schneider 04804b89a9 Initial import
2014-07-16 20:35:03 +02:00

35 lines
497 B
C#

using System;
namespace SalesCatalog.Model
{
public class Euro : Currency
{
public Euro ()
{
}
public override string Name {
get {
return "Euro";
}
}
public override string Description {
get {
return "European currency";
}
}
public override bool MayConvertTo (Unit other)
{
return other.GetType().IsSubclassOf(typeof (Currency));
}
public override object ConvertTo (Unit dest, object value)
{
throw new NotImplementedException();
}
}
}