GetBoolean() 공개 메소드

Boolean property accessor method to hide the configuration implementation.
public GetBoolean ( String key, bool def ) : bool
key String property key
def bool default value if property not found
리턴 bool
예제 #1
0
 /// <summary>
 /// Boolean property accessor method to hide the configuration implementation.
 /// </summary>
 /// <param name="key">property key</param>
 /// <param name="def">default value if property not found</param>
 /// <returns>value of key or default value</returns>
 public static bool GetBoolean(String key, bool def)
 {
     return(ri.GetBoolean(key, def));
 }