public Type Get( string key, bool ignoreCase ) { Type t = null; if( ignoreCase ) m_Insensitive.TryGetValue( key, out t ); else m_Sensitive.TryGetValue( key, out t ); return t; }
public Type GetTypeByName(string name, bool ignoreCase) { if (String.IsNullOrWhiteSpace(name)) { return(null); } return(m_Names.Get(name, ignoreCase)); }