public ContainsInt ( string key, string alias ) : bool | ||
key | string | |
alias | string | |
Результат | bool |
/// <summary> /// Returns the integer alias first from this IConfig then /// the parent if there is none. /// </summary> private int GetIntAlias(string key, string alias) { int result = -1; if (aliasText.ContainsInt(key, alias)) { result = aliasText.GetInt(key, alias); } else { result = ConfigSource.Alias.GetInt(key, alias); } return(result); }