IParameter

Allows the implementation of a class that represents a configuration parameter.

Namespace:
Inetdev.Parameters
Type:
Interface
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
Yes

Properties

Configuration

Gets the parameter configuration.

Signature:
public ParameterConfiguration Configuration { get; }

Store

An implementation of IParameterStore used to get/set parameter values.

Signature:
public IParameterStore Store { get; }

Methods

GetBooleanAsync

Returns the parameter value as boolean.

Signature:
public Task<Boolean> GetBooleanAsync()
Returns

The value of the parameter as boolean.

GetIntegerAsync

Returns the parameter value as integer.

Signature:
public Task<Int32> GetIntegerAsync()
Returns

The value of the parameter as integer.

GetStringAsync

Returns the parameter value as a string.

Signature:
public Task<String> GetStringAsync()
Returns

The valua of the parameter as string.

SetValueAsync

Sets the parameter value;

Signature:
public Task SetValueAsync(value)
Parameters
Name Type Summary
value Object The value to be set for the parameter.