Loading files
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.
using System;
namespace STPLoader
{
/// <summary>
/// Validation result.
/// </summary>
public class ValidationResult
{
private bool _valid;
private string _message;
/// <summary>
///
/// </summary>
/// <param name="valid"></param>
/// <param name="message"></param>
public ValidationResult (bool valid, string message = "")
{
_valid = valid;
_message = message;
}
public override string ToString()
{
return String.Format("<ValidationResult({0}, {1})>", _valid, _message);
}
}
}