GetValue() public method

public GetValue ( string name ) : object
name string
return object
Beispiel #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);
        }
Beispiel #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));
        }