C# Class RAML.WebApiExplorer.TypeBuilderHelper

Mostra file Open project: mulesoft-labs/raml-dotnet-apiexplorer Class Usage Examples

Public Methods

Method Description
Format ( CustomAttributeTypedArgument argument ) : object
GetClassName ( MemberInfo @class ) : string
GetMemberNameByType ( MemberInfo @class, Type attributeType ) : string
GetPropertyName ( MemberInfo property ) : string
IsArrayOrEnumerable ( Type type ) : bool
IsGenericWebResult ( Type type ) : bool
IsMaxValue ( CustomAttributeTypedArgument argument ) : bool
IsMinValue ( CustomAttributeTypedArgument argument ) : bool
IsNullable ( Type t ) : bool

Method Details

Format() public static method

public static Format ( CustomAttributeTypedArgument argument ) : object
argument System.Reflection.CustomAttributeTypedArgument
return object

GetClassName() public static method

public static GetClassName ( MemberInfo @class ) : string
@class System.Reflection.MemberInfo
return string

GetMemberNameByType() public static method

public static GetMemberNameByType ( MemberInfo @class, Type attributeType ) : string
@class System.Reflection.MemberInfo
attributeType System.Type
return string

GetPropertyName() public static method

public static GetPropertyName ( MemberInfo property ) : string
property System.Reflection.MemberInfo
return string

IsArrayOrEnumerable() public static method

public static IsArrayOrEnumerable ( Type type ) : bool
type System.Type
return bool

IsGenericWebResult() public static method

public static IsGenericWebResult ( Type type ) : bool
type System.Type
return bool

IsMaxValue() public static method

public static IsMaxValue ( CustomAttributeTypedArgument argument ) : bool
argument System.Reflection.CustomAttributeTypedArgument
return bool

IsMinValue() public static method

public static IsMinValue ( CustomAttributeTypedArgument argument ) : bool
argument System.Reflection.CustomAttributeTypedArgument
return bool

IsNullable() public static method

public static IsNullable ( Type t ) : bool
t System.Type
return bool