MessageBuilderContext
Assembly: ServiceStack.dll
View Source
Declaration
public class MessageBuilderContext : ICommonContext
Properties
PropertyValidator
View Source
Declaration
public IPropertyValidator PropertyValidator { get; }
ErrorSource
View Source
Declaration
[Obsolete("This property is deprecated and will be removed in FluentValidation 10.")]
public IStringSource ErrorSource { get; }
ParentContext
View Source
Declaration
public IValidationContext ParentContext { get; }
Rule
View Source
Declaration
public PropertyRule Rule { get; }
PropertyName
View Source
Declaration
public string PropertyName { get; }
DisplayName
View Source
Declaration
public string DisplayName { get; }
MessageFormatter
View Source
Declaration
public MessageFormatter MessageFormatter { get; }
InstanceToValidate
View Source
Declaration
public object InstanceToValidate { get; }
PropertyValue
View Source
Declaration
public object PropertyValue { get; }
ICommonContext.ParentContext
View Source
Declaration
ICommonContext ICommonContext.ParentContext { get; }
Methods
GetDefaultMessage()
View Source
Declaration
public string GetDefaultMessage()
Returns
System.String