C# Class System.Web.OData.Formatter.EdmLibHelpers

Mostrar archivo Open project: rbeauchamp/Swashbuckle.OData Class Usage Examples

Public Methods

Method Description
EdmFullName ( this clrType ) : string
EdmName ( this clrType ) : string
GetClrType ( IEdmType edmType, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel ) : Type
GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
GetDefinition ( this edmTypeReference ) : IEdmType
GetEdmPrimitiveTypeOrNull ( Type clrType ) : IEdmPrimitiveType
GetEdmPrimitiveTypeReferenceOrNull ( Type clrType ) : IEdmPrimitiveTypeReference
GetEdmType ( this edmModel, Type clrType ) : IEdmType
GetEntityType ( this navigationSource ) : IEdmEntityType
GetKey ( this edmEntityType ) : IEnumerable
GetOperationType ( this edmOperationParameter ) : IEdmTypeReference
GetPropertyType ( this edmProperty ) : IEdmTypeReference
IsNullable ( Type type ) : bool
ToEdmTypeReference ( this edmType, bool isNullable ) : IEdmTypeReference

Private Methods

Method Description
ExtractGenericInterface ( Type queryType, Type interfaceType ) : Type
GetEdmType ( IEdmModel edmModel, Type clrType, bool testCollections ) : IEdmType
GetMatchingTypes ( string edmFullName, IAssembliesResolver assembliesResolver ) : IEnumerable
GetPrimitiveType ( EdmPrimitiveTypeKind primitiveKind ) : IEdmPrimitiveType
MangleClrTypeName ( Type type ) : string

Method Details

EdmFullName() public static method

public static EdmFullName ( this clrType ) : string
clrType this
return string

EdmName() public static method

public static EdmName ( this clrType ) : string
clrType this
return string

GetClrType() public static method

public static GetClrType ( IEdmType edmType, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
edmType IEdmType
edmModel IEdmModel
assembliesResolver IAssembliesResolver
return Type

GetClrType() public static method

public static GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel ) : Type
edmTypeReference IEdmTypeReference
edmModel IEdmModel
return Type

GetClrType() public static method

public static GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
edmTypeReference IEdmTypeReference
edmModel IEdmModel
assembliesResolver IAssembliesResolver
return Type

GetDefinition() public static method

public static GetDefinition ( this edmTypeReference ) : IEdmType
edmTypeReference this
return IEdmType

GetEdmPrimitiveTypeOrNull() public static method

public static GetEdmPrimitiveTypeOrNull ( Type clrType ) : IEdmPrimitiveType
clrType Type
return IEdmPrimitiveType

GetEdmPrimitiveTypeReferenceOrNull() public static method

public static GetEdmPrimitiveTypeReferenceOrNull ( Type clrType ) : IEdmPrimitiveTypeReference
clrType Type
return IEdmPrimitiveTypeReference

GetEdmType() public static method

public static GetEdmType ( this edmModel, Type clrType ) : IEdmType
edmModel this
clrType Type
return IEdmType

GetEntityType() public static method

public static GetEntityType ( this navigationSource ) : IEdmEntityType
navigationSource this
return IEdmEntityType

GetKey() public static method

public static GetKey ( this edmEntityType ) : IEnumerable
edmEntityType this
return IEnumerable

GetOperationType() public static method

public static GetOperationType ( this edmOperationParameter ) : IEdmTypeReference
edmOperationParameter this
return IEdmTypeReference

GetPropertyType() public static method

public static GetPropertyType ( this edmProperty ) : IEdmTypeReference
edmProperty this
return IEdmTypeReference

IsNullable() public static method

public static IsNullable ( Type type ) : bool
type Type
return bool

ToEdmTypeReference() public static method

public static ToEdmTypeReference ( this edmType, bool isNullable ) : IEdmTypeReference
edmType this
isNullable bool
return IEdmTypeReference