StaticStringSource
Represents a static string.
Assembly: ServiceStack.dll
View Source
Declaration
[Obsolete("StaticStringSource is deprecated and will be removed in FluentValidation 10. Use a Func<PropertyValidatorContext, string> instead.")]
public class StaticStringSource : IStringSource
Methods
GetString(ICommonContext)
Construct the error message template
View Source
Declaration
public string GetString(ICommonContext context)
Returns
System.String
: Error message template
Parameters
Type | Name |
---|---|
ServiceStack.FluentValidation.ICommonContext | context |