C# Class Sage.Integration.Northwind.Adapter.Common.ResourceKindHelpers

Afficher le fichier Open project: Sage/SData-Contracts

Méthodes publiques

Méthode Description
GetAllResourcePayloadTypes ( ) : Type>.Dictionary

Returns a dictionary mapping all SupportedResourceKinds with their Payload types

GetPayloadType ( SupportedResourceKinds resourceKind ) : Type

Returns the payload type for a given resource kind type

GetResourceKind ( string payloadPath ) : SupportedResourceKinds
GetSingleResourceUrl ( string baseUrl, string payloadpath, string id ) : string

Method Details

GetAllResourcePayloadTypes() public static méthode

Returns a dictionary mapping all SupportedResourceKinds with their Payload types
public static GetAllResourcePayloadTypes ( ) : Type>.Dictionary
Résultat Type>.Dictionary

GetPayloadType() public static méthode

Returns the payload type for a given resource kind type
public static GetPayloadType ( SupportedResourceKinds resourceKind ) : Type
resourceKind SupportedResourceKinds
Résultat System.Type

GetResourceKind() public static méthode

public static GetResourceKind ( string payloadPath ) : SupportedResourceKinds
payloadPath string
Résultat SupportedResourceKinds

GetSingleResourceUrl() public static méthode

public static GetSingleResourceUrl ( string baseUrl, string payloadpath, string id ) : string
baseUrl string
payloadpath string
id string
Résultat string