Server.TypeTable.Get C# (CSharp) Méthode

Get() public méthode

public Get ( string key, bool ignoreCase ) : Type
key string
ignoreCase bool
Résultat System.Type
		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;
		}

Usage Example

Exemple #1
0
        public Type GetTypeByName(string name, bool ignoreCase)
        {
            if (String.IsNullOrWhiteSpace(name))
            {
                return(null);
            }

            return(m_Names.Get(name, ignoreCase));
        }
All Usage Examples Of Server.TypeTable::Get