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

Afficher le fichier Open project: rbeauchamp/Swashbuckle.OData Class Usage Examples

Méthodes publiques

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

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

public static EdmFullName ( this clrType ) : string
clrType this
Résultat string

EdmName() public static méthode

public static EdmName ( this clrType ) : string
clrType this
Résultat string

GetClrType() public static méthode

public static GetClrType ( IEdmType edmType, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
edmType IEdmType
edmModel IEdmModel
assembliesResolver IAssembliesResolver
Résultat Type

GetClrType() public static méthode

public static GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel ) : Type
edmTypeReference IEdmTypeReference
edmModel IEdmModel
Résultat Type

GetClrType() public static méthode

public static GetClrType ( IEdmTypeReference edmTypeReference, IEdmModel edmModel, IAssembliesResolver assembliesResolver ) : Type
edmTypeReference IEdmTypeReference
edmModel IEdmModel
assembliesResolver IAssembliesResolver
Résultat Type

GetDefinition() public static méthode

public static GetDefinition ( this edmTypeReference ) : IEdmType
edmTypeReference this
Résultat IEdmType

GetEdmPrimitiveTypeOrNull() public static méthode

public static GetEdmPrimitiveTypeOrNull ( Type clrType ) : IEdmPrimitiveType
clrType Type
Résultat IEdmPrimitiveType

GetEdmPrimitiveTypeReferenceOrNull() public static méthode

public static GetEdmPrimitiveTypeReferenceOrNull ( Type clrType ) : IEdmPrimitiveTypeReference
clrType Type
Résultat IEdmPrimitiveTypeReference

GetEdmType() public static méthode

public static GetEdmType ( this edmModel, Type clrType ) : IEdmType
edmModel this
clrType Type
Résultat IEdmType

GetEntityType() public static méthode

public static GetEntityType ( this navigationSource ) : IEdmEntityType
navigationSource this
Résultat IEdmEntityType

GetKey() public static méthode

public static GetKey ( this edmEntityType ) : IEnumerable
edmEntityType this
Résultat IEnumerable

GetOperationType() public static méthode

public static GetOperationType ( this edmOperationParameter ) : IEdmTypeReference
edmOperationParameter this
Résultat IEdmTypeReference

GetPropertyType() public static méthode

public static GetPropertyType ( this edmProperty ) : IEdmTypeReference
edmProperty this
Résultat IEdmTypeReference

IsNullable() public static méthode

public static IsNullable ( Type type ) : bool
type Type
Résultat bool

ToEdmTypeReference() public static méthode

public static ToEdmTypeReference ( this edmType, bool isNullable ) : IEdmTypeReference
edmType this
isNullable bool
Résultat IEdmTypeReference