Interface IOptionsProvider
The options provider.
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public interface IOptionsProvider
Remarks
Allows to retrieve settings associated with the source and repository.
Properties
OptionNames
Retrieves available option names.
Declaration
IEnumerable<string> OptionNames { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
Methods
GetOption(string)
Retrieves a value of an option.
Declaration
string? GetOption(string optionName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | optionName | The option name. |
Returns
| Type | Description |
|---|---|
| string | Value of an option. |
Remarks
If the option does not exist, null will be returned.