• Parameters

Contents

Parameters

Namespace: Shared.Classes

Assembly: SharedLib

Static class for managing Application Params

Methods

Initialise(String[], Char[], Char[], boolean) Initialises the parameters
Initialise(String[], char, char, boolean) Initialises the parameters
Finalise() Finalises the dictionary
OptionExists(string) Determines wether a parameter exists
GetOption(string, string) Retrieves a parameter value
GetOption(string, boolean) Retrieves a parameter value
GetOption(string, double) Retrieves a parameter value
GetOption(string, Int64) Retrieves a parameter value
GetOption(string, Int32) Retrieves a parameter value
GetOption(string, UInt32) Retrieves a parameter value
ProcessArgs(String[], char, char) converts string[] to dictionary
ProcessArgs(String[], Char[], Char[]) converts string[] to dictionary
StartsWithSeperator(string, Char[]) Determines wether a string starts with a seperator
ContainsSeperator(string, Char[], string, string)

Fields

_parameters Dictionary of parameters
_caseSensitive Case sensitive argument names
_lockObject Lock object

In This Document