CapyKit/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetAccessorMethod.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -05:00

1.3 KiB

SetAccessorMethod Method

Sets the function used to retrieve application settings.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0

C#

public static void SetAccessorMethod(
	Func<string, Object> accessor
)

F#

static member SetAccessorMethod : 
        accessor : Func<string, Object> -> unit 

Parameters

  Func(String, Object)
The new function used to retrieve application settings.

Exceptions

ArgumentNullException Thrown when one or more required arguments are null.

See Also

Reference

SettingsHelper Class
CapyKit.Helpers Namespace