LocationBindingExtensions.SetValue<T> Method (ILocationBinding<T>, Object, T) |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.5.21.0 (6.5.21.0)
public static void SetValue<T>( this ILocationBinding<T> locationBinding, Object instance, T value )
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 set, or null if the location is static. - value
- Type: T
The new value assigned to the field or property.
Type Parameters
- T
Return Value
Type:The field or property value.