Class ReadOnlyPropertyCache<T>
- Namespace
- MassTransit.Internals
- Assembly
- MassTransit.Abstractions.dll
public class ReadOnlyPropertyCache<T> : IReadOnlyPropertyCache<T>, IEnumerable<ReadOnlyProperty<T>>, IEnumerableType Parameters
- T
- Inheritance
- 
      
      ReadOnlyPropertyCache<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
ReadOnlyPropertyCache()
public ReadOnlyPropertyCache()Methods
Get(Expression<Func<T, object>>, T)
public object Get(Expression<Func<T, object>> propertyExpression, T instance)Parameters
- propertyExpressionExpression<Func<T, object>>
- instanceT
Returns
GetEnumerator()
public IEnumerator<ReadOnlyProperty<T>> GetEnumerator()Returns
TryGetValue(string, out ReadOnlyProperty<T>?)
public bool TryGetValue(string key, out ReadOnlyProperty<T>? value)Parameters
- keystring
- valueReadOnlyProperty<T>