OneComputeCommon\MyResult.cs
namespace OneComputeCommon
{
/// <summary>
/// An example result class.
/// </summary>
public class MyResult
{
/// <summary>
/// Initializes a new instance of the <see cref="MyResult"/> class.
/// </summary>
public MyResult()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="MyResult"/> class.
/// </summary>
/// <param name="value">The value.</param>
public MyResult(int value)
{
Value = value;
}
/// <summary>
/// Gets or sets the value.
/// </summary>
public int Value { get; set; }
/// <summary>
/// Returns a <see cref="System.String" /> that represents this instance.
/// </summary>
/// <returns>
/// A <see cref="System.String" /> that represents this instance.
/// </returns>
public override string ToString()
{
return Value.ToString();
}
}
}