Class GenericCollectionPropertyQuery

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

A query which returns generic collection properties from specified types.

public class GenericCollectionPropertyQuery : IPropertyQuery

Inheritance

objectGenericCollectionPropertyQuery

Implements

IPropertyQuery

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

GenericCollectionPropertyQuery()

public GenericCollectionPropertyQuery()

Methods

SelectProperties(Type)

Select those properties that are generic collections from type.

public IEnumerable<PropertyInfo> SelectProperties(Type type)

Parameters

type Type

The type which generic collection properties should be selected from.

Returns

IEnumerable<PropertyInfo>

Properties belonging to type that are collections.