C# Class Sage.Integration.Northwind.Adapter.Requests.LinkFactory

显示文件 Open project: Sage/SData-Contracts

Public Methods

Method Description
CreateEntryLinks ( RequestContext context, FeedEntry resourcePayloadContainer ) : FeedLink[]

Creates and returns an array of feed entrylinks.

CreateFeedLinks ( RequestContext context, string feedUrl ) : FeedLink[]
CreatePagingLinks ( PageInfo normalizedPageInfo, int totalCount, string requestUriWithoutQuery ) : FeedLink[]

Method Details

CreateEntryLinks() public static method

Creates and returns an array of feed entrylinks.
public static CreateEntryLinks ( RequestContext context, FeedEntry resourcePayloadContainer ) : FeedLink[]
context Sage.Integration.Northwind.Adapter.Common.RequestContext
resourcePayloadContainer FeedEntry
return FeedLink[]

CreateFeedLinks() public static method

public static CreateFeedLinks ( RequestContext context, string feedUrl ) : FeedLink[]
context Sage.Integration.Northwind.Adapter.Common.RequestContext
feedUrl string
return FeedLink[]

CreatePagingLinks() public static method

public static CreatePagingLinks ( PageInfo normalizedPageInfo, int totalCount, string requestUriWithoutQuery ) : FeedLink[]
normalizedPageInfo PageInfo
totalCount int
requestUriWithoutQuery string
return FeedLink[]