Table of Contents

Class ObjectInvalidationMetadata<T>

Namespace
Stride.Core
Assembly
Stride.Core.dll

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 object
propertyKey PropertyKey
propertyOldValue object

Invalidate(object, PropertyKey<T>, ref T)

public void Invalidate(object propertyOwner, PropertyKey<T> propertyKey, ref T propertyOldValue)

Parameters

propertyOwner object
propertyKey PropertyKey<T>
propertyOldValue T