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
  
    - propertyExpressionExpression<Func<T, object>>
  ReadOnlyProperty(PropertyInfo?)
  
  
  
  
  
    public ReadOnlyProperty(PropertyInfo? property)
   
  Parameters
  
    - propertyPropertyInfo
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
  
    - instanceT
Returns
  
    - TProperty