LocationBindingExtensions.GetValue<T> Method (ILocationBinding<T>, Object) |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static T GetValue<T>( this ILocationBinding<T> locationBinding, Object instance )
Parameters
- locationBinding
- Type: PostSharp.Aspects.ILocationBinding<T>
The binding for the field or property. - instance
- Type: System.Object
The instance for which the field or property is evaluated, or null if the location is static.
Type Parameters
- T
Return Value
Type: TThe field or property value.