Click or drag to resize

EventHandlerExecutionOrderPreserverRestoreExecutionOrder Method

Convienience method. Loads the previously saved execution order of all of an application's event handlers from NVS, and restores the order to the passed event handlers, and then clears then clears the saved data from NVS.

Namespace:  MFiles.VAF.Core
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
public virtual void RestoreExecutionOrder(
	Vault vault,
	string eventHandlerPrefix,
	Dictionary<MFEventHandlerType, List<EventHandler>> sortedEventHandlers,
	Nullable<Guid> appGuid = null


Type: Vault
The current vault.
Type: SystemString
The app's event handler prefix.
Type: System.Collections.GenericDictionaryMFEventHandlerType, ListEventHandler
The current event handlers, sorted.
appGuid (Optional)
Type: SystemNullableGuid
The guid of the application to load the event handler execution orders for. If not specified, it is resolved form the AppDef.
See Also