Files
DynamORM/DynamORM/Validation/ValidationResult.cs
grzegorz.russek dae78d21de
2018-09-28 17:38:06 +00:00

20 lines
653 B
C#

using DynamORM.Mapper;
namespace DynamORM.Validation
{
/// <summary>Validation result.</summary>
public class ValidationResult
{
/// <summary>Gets the property invoker.</summary>
public DynamicPropertyInvoker Property { get; internal set; }
/// <summary>Gets the requirement definition.</summary>
public RequiredAttribute Requirement { get; internal set; }
/// <summary>Gets the value that is broken.</summary>
public object Value { get; internal set; }
/// <summary>Gets the result.</summary>
public ValidateResult Result { get;internal set;}
}
}