C# 클래스 Sage.Integration.Northwind.Adapter.Common.ResourceKindHelpers

파일 보기 프로젝트 열기: Sage/SData-Contracts

공개 메소드들

메소드 설명
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

메소드 상세

GetAllResourcePayloadTypes() 공개 정적인 메소드

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

GetPayloadType() 공개 정적인 메소드

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

GetResourceKind() 공개 정적인 메소드

public static GetResourceKind ( string payloadPath ) : SupportedResourceKinds
payloadPath string
리턴 SupportedResourceKinds

GetSingleResourceUrl() 공개 정적인 메소드

public static GetSingleResourceUrl ( string baseUrl, string payloadpath, string id ) : string
baseUrl string
payloadpath string
id string
리턴 string