C# Класс Spark.Service.Pager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BuildLinks ( Hl7.Fhir.Model.Bundle bundle, Spark.Core.Snapshot snapshot, int start, int count ) : void
CreateBundle ( Spark.Core.Snapshot snapshot, int start, int count ) : Hl7.Fhir.Model.Bundle
CreateSnapshot ( Hl7.Fhir.Model.Bundle type, Uri link, IEnumerable keys, string sortby, IEnumerable includes = null ) : Spark.Core.Snapshot
GetFirstPage ( Spark.Core.Snapshot snapshot ) : Hl7.Fhir.Model.Bundle
GetPage ( Spark.Core.Snapshot snapshot, int start, int pagesize = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
GetPage ( string snapshotkey, int start, int count = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
Pager ( IFhirStore store, ISnapshotStore snapshotstore, ILocalhost localhost, Transfer transfer ) : System

Приватные методы

Метод Описание
Include ( Hl7.Fhir.Model.Bundle bundle, IEnumerable includes ) : void

Описание методов

BuildLinks() публичный Метод

public BuildLinks ( Hl7.Fhir.Model.Bundle bundle, Spark.Core.Snapshot snapshot, int start, int count ) : void
bundle Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
start int
count int
Результат void

CreateBundle() публичный Метод

public CreateBundle ( Spark.Core.Snapshot snapshot, int start, int count ) : Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
start int
count int
Результат Hl7.Fhir.Model.Bundle

CreateSnapshot() публичный Метод

public CreateSnapshot ( Hl7.Fhir.Model.Bundle type, Uri link, IEnumerable keys, string sortby, IEnumerable includes = null ) : Spark.Core.Snapshot
type Hl7.Fhir.Model.Bundle
link System.Uri
keys IEnumerable
sortby string
includes IEnumerable
Результат Spark.Core.Snapshot

GetFirstPage() публичный Метод

public GetFirstPage ( Spark.Core.Snapshot snapshot ) : Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
Результат Hl7.Fhir.Model.Bundle

GetPage() публичный Метод

public GetPage ( Spark.Core.Snapshot snapshot, int start, int pagesize = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
snapshot Spark.Core.Snapshot
start int
pagesize int
Результат Hl7.Fhir.Model.Bundle

GetPage() публичный Метод

public GetPage ( string snapshotkey, int start, int count = DEFAULT_PAGE_SIZE ) : Hl7.Fhir.Model.Bundle
snapshotkey string
start int
count int
Результат Hl7.Fhir.Model.Bundle

Pager() публичный Метод

public Pager ( IFhirStore store, ISnapshotStore snapshotstore, ILocalhost localhost, Transfer transfer ) : System
store IFhirStore
snapshotstore ISnapshotStore
localhost ILocalhost
transfer Transfer
Результат System