Class ReadWriteProperty<T, TProperty>
- Namespace
- MassTransit.Internals
- Assembly
- MassTransit.Abstractions.dll
public class ReadWriteProperty<T, TProperty> : ReadOnlyProperty<T, TProperty>
Type Parameters
T
TProperty
- Inheritance
-
ReadWriteProperty<T, TProperty>
- Inherited Members
-
Constructors
ReadWriteProperty(Expression<Func<T, object>>)
public ReadWriteProperty(Expression<Func<T, object>> propertyExpression)
Parameters
propertyExpression
Expression<Func<T, object>>
ReadWriteProperty(Expression<Func<T, object>>, bool)
public ReadWriteProperty(Expression<Func<T, object>> propertyExpression, bool includeNonPublic)
Parameters
propertyExpression
Expression<Func<T, object>>
includeNonPublic
bool
ReadWriteProperty(PropertyInfo?)
public ReadWriteProperty(PropertyInfo? property)
Parameters
property
PropertyInfo
Fields
SetProperty
public readonly Action<T, TProperty> SetProperty
Field Value
- Action<T, TProperty>
Methods
Set(T, TProperty)
public void Set(T instance, TProperty value)
Parameters
instance
T
value
TProperty