Class RequestMemberTypeResolver
Resolver of the member type for the class member requests (e.g. PropertyInfo, FieldInfo).
Inheritance
System.Object
RequestMemberTypeResolver
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AutoFixture
Assembly: AutoFixture.dll
Syntax
public class RequestMemberTypeResolver : IRequestMemberTypeResolver
Methods
| Improve this Doc View SourceTryGetMemberType(Object, out Type)
Tries to determine requested member type and returns it.
Declaration
public bool TryGetMemberType(object request, out Type memberType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | Relay request object. |
System.Type | memberType | Output variable for resolved request member type. |
Returns
Type | Description |
---|---|
System.Boolean |