Get() public method

Gets the specified key.
public Get ( string key ) : string
key string The key.
return string
Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Listener"/> class.
 /// </summary>
 /// <param name="cfg">The Config Object.</param>
 public Listener(Config cfg, List<UrlMapItem> UrlMap, Hashtable modulelist)
 {
     port = int.Parse(cfg.Get("port"));
     config = cfg;
     GlobalUrlMap = UrlMap;
     ServicePointManager.DefaultConnectionLimit = 20;
     ModuleList = modulelist;
 }