Class ReadOnlyProperty<T>
- Namespace
- MassTransit.Internals
- Assembly
- MassTransit.Abstractions.dll
public class ReadOnlyProperty<T>
Type Parameters
T
- Inheritance
-
ReadOnlyProperty<T>
- Derived
-
- Inherited Members
-
Constructors
ReadOnlyProperty(Expression<Func<T, object>>)
public ReadOnlyProperty(Expression<Func<T, object>> propertyExpression)
Parameters
propertyExpression
Expression<Func<T, object>>
ReadOnlyProperty(PropertyInfo?)
public ReadOnlyProperty(PropertyInfo? property)
Parameters
property
PropertyInfo
Fields
GetProperty
public readonly Func<T, object> GetProperty
Field Value
- Func<T, object>
Properties
Property
public PropertyInfo Property { get; }
Property Value
- PropertyInfo
Methods
Get(T)
public object Get(T instance)
Parameters
instance
T
Returns
- object