C# Class Microsoft.HockeyApp.Extensibility.Implementation.TypeExtensions

Defines extension methods that allow coding against Type without conditional compilation on versions of .NET framework.
Afficher le fichier Open project: bitstadium/HockeySDK-Windows

Méthodes publiques

Méthode Description
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

Method Details

GetGenericArguments() public static méthode

public static GetGenericArguments ( this type ) : System.Type[]
type this
Résultat System.Type[]

GetInterfaces() public static méthode

public static GetInterfaces ( this type ) : System.Type[]
type this
Résultat System.Type[]

GetProperties() public static méthode

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
Résultat System.Reflection.PropertyInfo[]

IsAbstract() public static méthode

public static IsAbstract ( this type ) : bool
type this
Résultat bool

IsGenericType() public static méthode

public static IsGenericType ( this type ) : bool
type this
Résultat bool