Add currency attribute
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace MileageTraker.Web.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
||||
public class CurrencyAttribute : Attribute
|
||||
{
|
||||
public string Symbol
|
||||
{
|
||||
get { return "$"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user