Class CompositeIdiomaticAssertion
Namespace: AutoFixture.Idioms
Assembly: AutoFixture.Idioms.dll
Composes an arbitrary number of IIdiomaticAssertion instances.
public class CompositeIdiomaticAssertion : IIdiomaticAssertionInheritance
object ← CompositeIdiomaticAssertion
Derived
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CompositeIdiomaticAssertion(params IIdiomaticAssertion[])
Initializes a new instance of the CompositeIdiomaticAssertion class with
the supplied IIdiomaticAssertion instances.
public CompositeIdiomaticAssertion(params IIdiomaticAssertion[] assertions)Parameters
assertions IIdiomaticAssertion[]
The encapsulated assertions.
CompositeIdiomaticAssertion(IEnumerable<IIdiomaticAssertion>)
Initializes a new instance of the CompositeIdiomaticAssertion class with
the supplied IIdiomaticAssertion instances.
public CompositeIdiomaticAssertion(IEnumerable<IIdiomaticAssertion> assertions)Parameters
assertions IEnumerable<IIdiomaticAssertion>
The encapsulated assertions.
Properties
Assertions
Gets the assertions supplied via the constructor.
public IEnumerable<IIdiomaticAssertion> Assertions { get; }Property Value
IEnumerable<IIdiomaticAssertion>
Methods
Verify(ConstructorInfo)
Verifies the behavior of the constructor by delegating the implementation to
all Assertions.
public void Verify(ConstructorInfo constructorInfo)Parameters
constructorInfo ConstructorInfo
The constructor whose behavior must be verified.
Verify(IEnumerable<ConstructorInfo>)
Verifies the behavior of the constructors by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<ConstructorInfo> constructorInfos)Parameters
constructorInfos IEnumerable<ConstructorInfo>
The constructors whose behavior must be verified.
Verify(params Assembly[])
Verifies the behaviour of the assemblies by delegating the implementation to
all Assertions.
public void Verify(params Assembly[] assemblies)Parameters
assemblies Assembly[]
The assemblies whose behaviour must be verified.
Verify(IEnumerable<Assembly>)
Verifies the behaviour of the assemblies by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<Assembly> assemblies)Parameters
assemblies IEnumerable<Assembly>
The assemblies whose behaviour must be verified.
Verify(Assembly)
Verifies the behaviour of the assembly by delegating the implementation to
all Assertions.
public void Verify(Assembly assembly)Parameters
assembly Assembly
The assembly whose behaviour must be verified.
Verify(params Type[])
Verifies the behaviour of the types by delegating the implementation to
all Assertions.
public void Verify(params Type[] types)Parameters
types Type[]
The types whose behaviour must be verified.
Verify(IEnumerable<Type>)
Verifies the behaviour of the types by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<Type> types)Parameters
types IEnumerable<Type>
The types whose behaviour must be verified.
Verify(Type)
Verifies the behaviour of the type by delegating the implementation to
all Assertions.
public void Verify(Type type)Parameters
type Type
The type whose behaviour must be verified.
Verify(params MemberInfo[])
Verifies the behaviour of the members by delegating the implementation to
all Assertions.
public void Verify(params MemberInfo[] memberInfos)Parameters
memberInfos MemberInfo[]
The members whose behaviour must be verified.
Verify(IEnumerable<MemberInfo>)
Verifies the behaviour of the members by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<MemberInfo> memberInfos)Parameters
memberInfos IEnumerable<MemberInfo>
The members whose behaviour must be verified.
Verify(MemberInfo)
Verifies the behaviour of the member by delegating the implementation to
all Assertions.
public void Verify(MemberInfo memberInfo)Parameters
memberInfo MemberInfo
The member whose behaviour must be verified.
Verify(params ConstructorInfo[])
Verifies the behavior of the constructors by delegating the implementation to
all Assertions.
public void Verify(params ConstructorInfo[] constructorInfos)Parameters
constructorInfos ConstructorInfo[]
The constructors whose behavior must be verified.
Verify(MethodInfo)
Verifies the behavior of the constructor by delegating the implementation to
all Assertions.
public void Verify(MethodInfo methodInfo)Parameters
methodInfo MethodInfo
The method whose behavior must be verified.
Verify(IEnumerable<MethodInfo>)
Verifies the behavior of the methods by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<MethodInfo> methodInfos)Parameters
methodInfos IEnumerable<MethodInfo>
The methods whose behavior must be verified.
Verify(params MethodInfo[])
Verifies the behavior of the methods by delegating the implementation to
all Assertions.
public void Verify(params MethodInfo[] methodInfos)Parameters
methodInfos MethodInfo[]
The methods whose behavior must be verified.
Verify(PropertyInfo)
Verifies the behavior of the property by delegating the implementation to
all Assertions.
public void Verify(PropertyInfo propertyInfo)Parameters
propertyInfo PropertyInfo
The property whose behavior must be verified.
Verify(IEnumerable<PropertyInfo>)
Verifies the behavior of the properties by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<PropertyInfo> propertyInfos)Parameters
propertyInfos IEnumerable<PropertyInfo>
The properties whose behavior must be verified.
Verify(params PropertyInfo[])
Verifies the behavior of the properties by delegating the implementation to
all Assertions.
public void Verify(params PropertyInfo[] propertyInfos)Parameters
propertyInfos PropertyInfo[]
The properties whose behavior must be verified.
Verify(FieldInfo)
Verifies the behavior of the field by delegating the implementation to
all Assertions.
public void Verify(FieldInfo fieldInfo)Parameters
fieldInfo FieldInfo
The field whose behavior must be verified.
Verify(IEnumerable<FieldInfo>)
Verifies the behavior of the fields by delegating the implementation to
all Assertions.
public void Verify(IEnumerable<FieldInfo> fieldInfos)Parameters
fieldInfos IEnumerable<FieldInfo>
The fields whose behavior must be verified.
Verify(params FieldInfo[])
Verifies the behavior of the fields by delegating the implementation to
all Assertions.
public void Verify(params FieldInfo[] fieldInfos)Parameters
fieldInfos FieldInfo[]
The fields whose behavior must be verified.