public static FeedFetchInfoList ( System.DateTime createdDateFrom, System.DateTime createdDateTo, int maximumRecords ) : |
||
createdDateFrom | System.DateTime | |
createdDateTo | System.DateTime | |
maximumRecords | int | |
return |
public static FeedInfoList FeedFetchInfoList(int maximumRecords) { return(FeedRepository.FeedFetchInfoList( new FeedDataCriteria { SortBy = "CreatedDate", SortOrder = ListSortDirection.Descending, MaximumRecords = maximumRecords })); }
public static FeedInfoList FeedFetchInfoList(DateTime createdDateFrom, DateTime createdDateTo, int maximumRecords) { return(FeedRepository.FeedFetchInfoList( new FeedDataCriteria { CreatedDate = new DateRangeCriteria(createdDateFrom, createdDateTo), SortBy = "CreatedDate", SortOrder = ListSortDirection.Descending, MaximumRecords = maximumRecords })); }