InstaTax.Core.DomainObjects.OtherIncomeItem.OtherIncomeItem C# (CSharp) Метод

OtherIncomeItem() публичный Метод

public OtherIncomeItem ( string name, double amount ) : System
name string
amount double
Результат System
        public OtherIncomeItem(string name, double amount)
        {
            if (name == null) throw new ArgumentNullException("name","Name Cannot be Null");
            if (name.Length == 0) throw new ArgumentException("Name must be specified", "name");
            if (amount <= 0.0) throw new ArgumentException("Amount cannot be zero or negative", "amount");
            Name = name;
            Amount = amount;
        }

Same methods

OtherIncomeItem::OtherIncomeItem ( ) : System