GetValue() public method

public GetValue ( string name ) : object
name string
return object
Exemplo n.º 1
0
        public static Type GetType(Context context, string name)
        {
            object obj = context.GetValue(name);

            if (obj != null && obj is Type)
                return (Type)obj;

            return GetType(name);
        }
Exemplo n.º 2
0
        public static Type GetType(Context context, string name)
        {
            object obj = context.GetValue(name);

            if (obj != null && obj is Type)
            {
                return((Type)obj);
            }

            return(GetType(name));
        }