public IProxyType GetBase() { if (this.baseType != null) { return(this.baseType); } #if NETFX_CORE Type _baseType = type.GetTypeInfo().BaseType; #else Type _baseType = type.BaseType; #endif if (_baseType == null) { return(null); } this.baseType = factory.Get(_baseType); return(this.baseType); }
public static IProxyType AsProxy(this Type type) { return(factory.Get(type)); }