using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace csmic
{
///
/// Represents an argument made in an interpreted function.
///
public class InterpretedFunctionArgument
{
#region Members
///
/// The name of the argument.
///
private string name;
///
/// The value of the argument.
///
private decimal value;
#endregion
#region Constructors
///
/// Creates a new interpreted function argument.
///
public InterpretedFunctionArgument()
{
this.name = string.Empty;
this.value = 0;
}
///
/// Creates a new interpreted function argument.
///
/// The name of the argument in the interpreted function.
/// The value of the argument to use in the interpreted function.
public InterpretedFunctionArgument(string name, decimal value)
{
this.name = name;
this.value = value;
}
#endregion
#region Properties
///
/// Gets or sets the name of the argument.
///
public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
}
}
///
/// Gets or sets the value of the argument.
///
public decimal Value
{
get
{
return this.value;
}
set
{
this.value = value;
}
}
#endregion
}
}