PersistentSettings.GetValidator(T) Method (String)
Click or drag to resize

PersistentSettingsGetValidatorT Method (String)

Provides a way to find a ready-to-use validator for the PersistentSetting class for the given the key, or obtaining null.

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public EventHandler<PersistentSettingsEventArgs<T>> GetValidator<T>(
	string key
)

Parameters

key
Type: SystemString
The name of the setting key.

Type Parameters

T
The type that the validator acts upon.

Return Value

Type: EventHandlerPersistentSettingsEventArgsT
A valid validator, or null if no validator was found.
Exceptions
Version Information

Rhino for Windows

Supported in: 6.7
See Also