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<System.String> |
Methods
GetOption(String)
Retrieves a value of an option.
Declaration
string? GetOption(string optionName)
Parameters
Type | Name | Description |
---|---|---|
System.String | optionName | The option name. |
Returns
Type | Description |
---|---|
System.Nullable<System.String> | Value of an option. |
Remarks
If the option does not exist, null
will be returned.