CapyKit/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_GetApplicationSetting__1.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

959 B

GetApplicationSetting<T> Method

Retrieves a setting with the given key. Returns the setting as an uncast T.

Definition

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

C#

public static T GetApplicationSetting<T>(
	string settingName
)

F#

static member GetApplicationSetting : 
        settingName : string -> 'T 

Parameters

  String
The name of the setting to retrieve.

Type Parameters

The type of the setting to be retrieved.

Return Value

T
The value of the setting as an uncast T.

See Also

Reference

SettingsHelper Class
CapyKit.Helpers Namespace