|
namespace BusinessRules.Evolution_One
{
/// <summary>
/// Investor Domain object specific to New Zealand
/// </summary>
public class NullInvestor : IInvestor
{
#region Constants
private const double ZERO = 0.0;
#endregion
#region C'tors
/// <summary>
/// Initializes a new instance of the <see cref="NewZealandInvestor"/> class.
/// </summary>
public NullInvestor()
{
}
#endregion
#region Properties
/// <summary>
/// Gets or sets the income.
/// </summary>
/// <value>The income.</value>
public double Income
{
get { return ZERO; }
set { }
}
/// <summary>
/// Gets the tax liability.
/// </summary>
/// <value>The tax liability.</value>
public double TaxLiability
{
get { return ZERO; }
}
/// <summary>
/// Gets the tax rate.
/// </summary>
/// <value>The tax rate.</value>
public double TaxRate
{
get { return ZERO; }
}
#endregion
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.