Table of Contents

Interface IKNetConnectConfiguration

Namespace
MASES.KNet.Connect
Assembly
MASES.KNet.dll

Interface to simplify access configuration information

public interface IKNetConnectConfiguration : IEnumerable<KeyValuePair<string, object>>, IEnumerable
Inherited Members

Methods

Exist(string)

Returns true if the key exist

bool Exist(string key)

Parameters

key string

The key to check

Returns

bool

short if the key exist

GetBoolean(string)

Returns bool associated to key

bool GetBoolean(string key)

Parameters

key string

The key to return

Returns

bool

The bool associated to key

GetClass(string)

Returns Class associated to key

Class GetClass(string key)

Parameters

key string

The key to return

Returns

Class

The Class associated to key

GetDouble(string)

Returns double associated to key

double GetDouble(string key)

Parameters

key string

The key to return

Returns

double

The double associated to key

GetInt(string)

Returns int associated to key

int GetInt(string key)

Parameters

key string

The key to return

Returns

int

The int associated to key

GetList(string)

Returns List<T> of string associated to key

List<string> GetList(string key)

Parameters

key string

The key to return

Returns

List<string>

The List<T> of string associated to key

GetLong(string)

Returns long associated to key

long GetLong(string key)

Parameters

key string

The key to return

Returns

long

The long associated to key

GetPassword(string)

Returns Password associated to key

Password GetPassword(string key)

Parameters

key string

The key to return

Returns

Password

The Password associated to key

GetShort(string)

Returns short associated to key

short GetShort(string key)

Parameters

key string

The key to return

Returns

short

The short associated to key

GetString(string)

Returns string associated to key

string GetString(string key)

Parameters

key string

The key to return

Returns

string

The string associated to key