Class ObjectInvalidationMetadata<T>
Metadata used to invalidate an object state after a property value modification.
public class ObjectInvalidationMetadata<T> : ObjectInvalidationMetadata
Type Parameters
T
- Inheritance
-
ObjectInvalidationMetadata<T>
- Inherited Members
Constructors
ObjectInvalidationMetadata(ObjectInvalidationCallback<T>)
Initializes a new instance of the ObjectInvalidationMetadata<T> class.
public ObjectInvalidationMetadata(ObjectInvalidationCallback<T> invalidationCallback)
Parameters
invalidationCallback
ObjectInvalidationCallback<T>The object invalidation callback.
Exceptions
- ArgumentNullException
Parameter
invalidationCallback
is null.
ObjectInvalidationMetadata(ObjectInvalidationRefCallback<T>)
Initializes a new instance of the ObjectInvalidationMetadata<T> class.
public ObjectInvalidationMetadata(ObjectInvalidationRefCallback<T> invalidationRefCallback)
Parameters
invalidationRefCallback
ObjectInvalidationRefCallback<T>The object invalidation callback.
Exceptions
- ArgumentNullException
Parameter
invalidationRefCallback
is null.
Methods
Invalidate(object, PropertyKey, object)
public override void Invalidate(object propertyOwner, PropertyKey propertyKey, object propertyOldValue)
Parameters
propertyOwner
objectpropertyKey
PropertyKeypropertyOldValue
object
Invalidate(object, PropertyKey<T>, ref T)
public void Invalidate(object propertyOwner, PropertyKey<T> propertyKey, ref T propertyOldValue)
Parameters
propertyOwner
objectpropertyKey
PropertyKey<T>propertyOldValue
T