C# Class Myre.Extensions.TypeExtensions

A static class containing extensions methods for the System.Type class.
Exibir arquivo Open project: martindevans/Myre

Public Methods

Method Description
GetImplementedTypes ( this t ) : IEnumerable

Get all types this type derives from

Parse ( this t, string s ) : object

Attempts to parse the given string with the default static Parse method for the given type

Method Details

GetImplementedTypes() public static method

Get all types this type derives from
public static GetImplementedTypes ( this t ) : IEnumerable
t this
return IEnumerable

Parse() public static method

Attempts to parse the given string with the default static Parse method for the given type
public static Parse ( this t, string s ) : object
t this
s string
return object