Class ReadOnlyPropertyCache<T>
- Namespace
- MassTransit.Internals
- Assembly
- MassTransit.Abstractions.dll
public class ReadOnlyPropertyCache<T> : IReadOnlyPropertyCache<T>, IEnumerable<ReadOnlyProperty<T>>, IEnumerable
Type 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
propertyExpression
Expression<Func<T, object>>instance
T
Returns
GetEnumerator()
public IEnumerator<ReadOnlyProperty<T>> GetEnumerator()
Returns
TryGetValue(string, out ReadOnlyProperty<T>?)
public bool TryGetValue(string key, out ReadOnlyProperty<T>? value)
Parameters
key
stringvalue
ReadOnlyProperty<T>