Skip to main content

ITestPropertyChain<TValue>

Assembly: ServiceStack.dll
View Source
Declaration
public interface ITestPropertyChain<TValue>

Methods

Property<TValue1>(Expression<Func<TValue, TValue1>>)

View Source
Declaration
[Obsolete("Call ShouldHaveValidationError(expression) on the validation result instead.")]
ITestPropertyChain<TValue1> Property<TValue1>(Expression<Func<TValue, TValue1>> memberAccessor)
Returns

ServiceStack.FluentValidation.TestHelper.ITestPropertyChain<TValue>

Parameters
TypeName
System.Linq.Expressions.Expression<System.Func<<TValue>,<TValue1>>>memberAccessor
Type Parameters
  • TValue1

ShouldHaveValidationError()

View Source
Declaration
IEnumerable<ValidationFailure> ShouldHaveValidationError()
Returns

System.Collections.Generic.IEnumerable<ServiceStack.FluentValidation.Results.ValidationFailure>

ShouldNotHaveValidationError()

View Source
Declaration
void ShouldNotHaveValidationError()