Click or drag to resize

VaultApplicationBaseCreateMetadataStructureCacheEventSink Method

Creates the metadata structure cache event sink that can be used to update the cache based on events. Currently only updating the users, user groups and logins is supported. If one does not want to register the event handlers and update the cache then this method should be overridden and it should return null.

Namespace:  MFiles.VAF
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
protected virtual IMetadataStructureCacheEventSink CreateMetadataStructureCacheEventSink(
	Vault vault,
	IMetadataStructureCacheUpdate cache
)

Parameters

vault
Type: Vault
The vault object.
cache
Type: MFiles.VAF.MetadataCacheIMetadataStructureCacheUpdate
The updatable cache pobject that should be the target of the updates.

Return Value

Type: IMetadataStructureCacheEventSink
The created cache updater object or null if cache updating is not wanted.
See Also