Class ReadonlyPropertyQuery
A query which returns readonly properties from specified types.
Inheritance
System.Object
ReadonlyPropertyQuery
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.Kernel
Assembly: AutoFixture.dll
Syntax
public class ReadonlyPropertyQuery : IPropertyQuery
Methods
| Improve this Doc View SourceSelectProperties(Type)
Select those properties that are readonly from type
.
Declaration
public IEnumerable<PropertyInfo> SelectProperties(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type which readonly properties should be selected from. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo> | Properties belonging to |