C# Класс Microsoft.HockeyApp.Extensibility.Implementation.TypeExtensions

Defines extension methods that allow coding against Type without conditional compilation on versions of .NET framework.
Показать файл Открыть проект

Открытые методы

Метод Описание
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