Fan.Sys.Type.of C# (CSharp) Method

of() public static method

public static of ( object obj ) : Type
obj object
return Type
        public static Type of(object obj)
        {
            if (obj is FanObj)
            return ((FanObj)obj).@typeof();
              else
            return FanUtil.toFanType(obj.GetType(), true);
        }

Usage Example

Esempio n. 1
0
        //////////////////////////////////////////////////////////////////////////
        // Management
        //////////////////////////////////////////////////////////////////////////

        public static Pod of(object obj)
        {
            return(Type.of(obj).pod());
        }
All Usage Examples Of Fan.Sys.Type::of