Table of Contents

Class ReadOnlyProperty<T, TProperty>

Namespace
MassTransit.Internals
Assembly
MassTransit.Abstractions.dll
public class ReadOnlyProperty<T, TProperty>

Type Parameters

T
TProperty
Inheritance
ReadOnlyProperty<T, TProperty>
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, TProperty> GetProperty

Field Value

Func<T, TProperty>

Properties

Property

public PropertyInfo Property { get; }

Property Value

PropertyInfo

Methods

Get(T)

public TProperty Get(T instance)

Parameters

instance T

Returns

TProperty