Enum Matching

Namespace: AutoFixture.Xunit3
Assembly: AutoFixture.Xunit3.dll

The criteria used to determine which requests will be satisfied by the frozen specimen created for a parameter decorated with the FrozenAttribute attribute.

[Flags]
public enum Matching

Fields

DirectBaseType = 2

Matches requests for a Type that is a direct base of the type of the parameter.

ExactType = 1

Matches requests for the exact same Type as the type of the parameter.

FieldName = 32

Matches requests for a FieldInfo whose Type is compatible with the type of the parameter and has a specific name.

ImplementedInterfaces = 4

Matches requests for an interface Type that is implemented by the type of the parameter.

MemberName = 56

Matches requests for a parameter, property or field whose Type is compatible with the type of the parameter and has a specific name.

ParameterName = 8

Matches requests for a ParameterInfo whose Type is compatible with the type of the parameter and has a specific name.

PropertyName = 16

Matches requests for a PropertyInfo whose Type is compatible with the type of the parameter and has a specific name.