mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-14 04:03:36 -06:00
42 lines
1.3 KiB
Markdown
42 lines
1.3 KiB
Markdown
|
# SetAccessorMethod Method
|
|||
|
|
|||
|
|
|||
|
Sets the function used to retrieve application settings.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
## Definition
|
|||
|
**Namespace:** <a href="N_CapyKit_Helpers.md">CapyKit.Helpers</a>
|
|||
|
**Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0
|
|||
|
|
|||
|
**C#**
|
|||
|
``` C#
|
|||
|
public static void SetAccessorMethod(
|
|||
|
Func<string, Object> accessor
|
|||
|
)
|
|||
|
```
|
|||
|
**F#**
|
|||
|
``` F#
|
|||
|
static member SetAccessorMethod :
|
|||
|
accessor : Func<string, Object> -> unit
|
|||
|
```
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#### Parameters
|
|||
|
<dl><dt> <a href="https://learn.microsoft.com/dotnet/api/system.func-2" target="_blank" rel="noopener noreferrer">Func</a>(<a href="https://learn.microsoft.com/dotnet/api/system.string" target="_blank" rel="noopener noreferrer">String</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</dt><dd>The new function used to retrieve application settings.</dd></dl>
|
|||
|
|
|||
|
## Exceptions
|
|||
|
<table>
|
|||
|
<tr>
|
|||
|
<td><a href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception" target="_blank" rel="noopener noreferrer">ArgumentNullException</a></td>
|
|||
|
<td>Thrown when one or more required arguments are null.</td></tr>
|
|||
|
</table>
|
|||
|
|
|||
|
## See Also
|
|||
|
|
|||
|
|
|||
|
#### Reference
|
|||
|
<a href="T_CapyKit_Helpers_SettingsHelper.md">SettingsHelper Class</a>
|
|||
|
<a href="N_CapyKit_Helpers.md">CapyKit.Helpers Namespace</a>
|