|
ObjectChangeTrackingExtensionsGetPropertyTrackingTObject, TReturn Method (TObject, ExpressionFuncTObject, TReturn)
|
Gets a property change tracking for a given property
Namespace:
TrackerDog
Assembly:
TrackerDog (in TrackerDog.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax public static IDeclaredObjectPropertyChangeTracking GetPropertyTracking<TObject, TReturn>(
this TObject some,
Expression<Func<TObject, TReturn>> propertySelector
)
<ExtensionAttribute>
Public Shared Function GetPropertyTracking(Of TObject, TReturn) (
some As TObject,
propertySelector As Expression(Of Func(Of TObject, TReturn))
) As IDeclaredObjectPropertyChangeTracking
Parameters
- some
- Type: TObject
The tracked object - propertySelector
- Type: System.Linq.ExpressionsExpressionFuncTObject, TReturn
A property selector
Type Parameters
- TObject
- The type of tracked object
- TReturn
- The type of the property
Return Value
Type:
IDeclaredObjectPropertyChangeTrackingThe property tracking
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also