CapyKit/Documentation/Help/M_CapyKit_Helpers_SettingsHelper_SetDetectorMethod.md
2024-09-04 19:31:43 -05:00

1.3 KiB

SetDetectorMethod Method

Sets the function used to detect if an application setting with a given key exists.

Definition

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

C#

public static void SetDetectorMethod(
	Func<string, bool> detector
)

F#

static member SetDetectorMethod : 
        detector : Func<string, bool> -> unit 

Parameters

  Func(String, Boolean)
The new function used to detect if an application setting exists.

Exceptions

ArgumentNullException Thrown when one or more required arguments are null.

See Also

Reference

SettingsHelper Class
CapyKit.Helpers Namespace