Delegate ResourceMirror.UpdateResource<ItemType, ResourceType>
Callback to update existing resources. This will be called for each item and its associated resource in the Sync's currentItems and resources lists.
Namespace: Microsoft.MixedReality.WorldLocking.Core
Assembly: cs.temp.dll.dll
Syntax
public delegate void UpdateResource<ItemType, ResourceType>(ItemType item, ResourceType resource);
Parameters
| Type | Name | Description |
|---|---|---|
| ItemType | item | The source item. |
| ResourceType | resource | The associated resource. |
Type Parameters
| Name | Description |
|---|---|
| ItemType | Type of the source data. |
| ResourceType | Type of the managed resources. |
Remarks
Only one of create/update/destroy will be called for a given item/resource pair during a single Sync.