|
namespace CodeProject.VisualStudio.QualityTools.UnitTestFramework
{
/// <summary>
/// Wraps specification values in order to allow fine grained extension
/// methods.
/// </summary>
/// <typeparam name="T">The Type of the value to wrap</typeparam>
public class SpecificationValue<T>
{
private T value;
/// <summary>
/// Initializes a new instance of the <see cref="SpecificationValue<T>"/> class.
/// </summary>
/// <param name="value">The value.</param>
public SpecificationValue(T value)
{
this.value = value;
}
/// <summary>
/// Gets the value.
/// </summary>
/// <value>The value.</value>
public T Value
{
get { return this.value; }
}
}
}
|
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.
Windows developer with 10+ years experience working in the banking industry.