C# 클래스 Microsoft.HockeyApp.Extensibility.Implementation.TypeExtensions

Defines extension methods that allow coding against Type without conditional compilation on versions of .NET framework.
파일 보기 프로젝트 열기: bitstadium/HockeySDK-Windows

공개 메소드들

메소드 설명
GetGenericArguments ( this type ) : System.Type[]
GetInterfaces ( this type ) : System.Type[]
GetProperties ( this type ) : System.Reflection.PropertyInfo[]

Returns all the public properties of the specified type.

This method emulates the built-in method of the Type class which is not available on Windows Runtime. Note that, unlike the built-in Type method, this method does not return properties defined in any of the base types. However, this should be sufficient for our public types, which have to be sealed on Windows Runtime.

IsAbstract ( this type ) : bool
IsGenericType ( this type ) : bool

메소드 상세

GetGenericArguments() 공개 정적인 메소드

public static GetGenericArguments ( this type ) : System.Type[]
type this
리턴 System.Type[]

GetInterfaces() 공개 정적인 메소드

public static GetInterfaces ( this type ) : System.Type[]
type this
리턴 System.Type[]

GetProperties() 공개 정적인 메소드

Returns all the public properties of the specified type.
This method emulates the built-in method of the Type class which is not available on Windows Runtime. Note that, unlike the built-in Type method, this method does not return properties defined in any of the base types. However, this should be sufficient for our public types, which have to be sealed on Windows Runtime.
public static GetProperties ( this type ) : System.Reflection.PropertyInfo[]
type this
리턴 System.Reflection.PropertyInfo[]

IsAbstract() 공개 정적인 메소드

public static IsAbstract ( this type ) : bool
type this
리턴 bool

IsGenericType() 공개 정적인 메소드

public static IsGenericType ( this type ) : bool
type this
리턴 bool