Click or drag to resize

ApplicationStateInfoServiceRegisterStateGetter Method

Registers a new method to be invoked to get information about the current state of the application.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void RegisterStateGetter(
	string title,
	Func<Object> stateGetter
)

Parameters

title  String
The title of the new state entry.
stateGetter  FuncObject
The method to be invoked to get the state value.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe title is null.
ArgumentExceptionA state getter with the specified title is already registered.
See Also