C# Класс Spark.Engine.Core.KeyExtensions

Показать файл Открыть проект

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

Метод Описание
ApplyTo ( this key, Hl7.Fhir.Model.Resource resource ) : void
Clone ( this self ) : Spark.Engine.Core.Key
CreateFromLocalReference ( string reference ) : Spark.Engine.Core.Key
EqualTo ( this key, IKey other ) : bool

Value equality for two IKey's

ExtractKey ( Uri uri ) : Spark.Engine.Core.Key
ExtractKey ( this resource ) : Spark.Engine.Core.Key
ExtractKey ( this localhost, Hl7.Fhir.Model.Bundle entry ) : Spark.Engine.Core.Key
GetSegments ( this key ) : IEnumerable
HasBase ( this key ) : bool
HasResourceId ( this self ) : bool
HasVersionId ( this self ) : bool
IsTemporary ( this key ) : bool

Determines if the Key was constructed from a temporary id.

ToOperationPath ( this self ) : string
ToRelativeUri ( this key ) : Uri
ToStorageKey ( this key ) : string

A storage key is a resource reference string that is ensured to be server wide unique. This way resource can refer to eachother at a database level. These references are also used in SearchResult lists. The format is "resource/id/_history/vid"

ToUri ( this self ) : Uri
ToUri ( this key, Uri endpoint ) : Uri
ToUriString ( this key ) : string
WithBase ( this self, string _base ) : Spark.Engine.Core.Key
WithoutBase ( this self ) : Spark.Engine.Core.Key
WithoutVersion ( this self ) : Spark.Engine.Core.Key

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

ApplyTo() публичный статический Метод

public static ApplyTo ( this key, Hl7.Fhir.Model.Resource resource ) : void
key this
resource Hl7.Fhir.Model.Resource
Результат void

Clone() публичный статический Метод

public static Clone ( this self ) : Spark.Engine.Core.Key
self this
Результат Spark.Engine.Core.Key

CreateFromLocalReference() публичный статический Метод

public static CreateFromLocalReference ( string reference ) : Spark.Engine.Core.Key
reference string
Результат Spark.Engine.Core.Key

EqualTo() публичный статический Метод

Value equality for two IKey's
public static EqualTo ( this key, IKey other ) : bool
key this
other IKey
Результат bool

ExtractKey() публичный статический Метод

public static ExtractKey ( Uri uri ) : Spark.Engine.Core.Key
uri System.Uri
Результат Spark.Engine.Core.Key

ExtractKey() публичный статический Метод

public static ExtractKey ( this resource ) : Spark.Engine.Core.Key
resource this
Результат Spark.Engine.Core.Key

ExtractKey() публичный статический Метод

public static ExtractKey ( this localhost, Hl7.Fhir.Model.Bundle entry ) : Spark.Engine.Core.Key
localhost this
entry Hl7.Fhir.Model.Bundle
Результат Spark.Engine.Core.Key

GetSegments() публичный статический Метод

public static GetSegments ( this key ) : IEnumerable
key this
Результат IEnumerable

HasBase() публичный статический Метод

public static HasBase ( this key ) : bool
key this
Результат bool

HasResourceId() публичный статический Метод

public static HasResourceId ( this self ) : bool
self this
Результат bool

HasVersionId() публичный статический Метод

public static HasVersionId ( this self ) : bool
self this
Результат bool

IsTemporary() публичный статический Метод

Determines if the Key was constructed from a temporary id.
public static IsTemporary ( this key ) : bool
key this
Результат bool

ToOperationPath() публичный статический Метод

public static ToOperationPath ( this self ) : string
self this
Результат string

ToRelativeUri() публичный статический Метод

public static ToRelativeUri ( this key ) : Uri
key this
Результат System.Uri

ToStorageKey() публичный статический Метод

A storage key is a resource reference string that is ensured to be server wide unique. This way resource can refer to eachother at a database level. These references are also used in SearchResult lists. The format is "resource/id/_history/vid"
public static ToStorageKey ( this key ) : string
key this
Результат string

ToUri() публичный статический Метод

public static ToUri ( this self ) : Uri
self this
Результат System.Uri

ToUri() публичный статический Метод

public static ToUri ( this key, Uri endpoint ) : Uri
key this
endpoint System.Uri
Результат System.Uri

ToUriString() публичный статический Метод

public static ToUriString ( this key ) : string
key this
Результат string

WithBase() публичный статический Метод

public static WithBase ( this self, string _base ) : Spark.Engine.Core.Key
self this
_base string
Результат Spark.Engine.Core.Key

WithoutBase() публичный статический Метод

public static WithoutBase ( this self ) : Spark.Engine.Core.Key
self this
Результат Spark.Engine.Core.Key

WithoutVersion() публичный статический Метод

public static WithoutVersion ( this self ) : Spark.Engine.Core.Key
self this
Результат Spark.Engine.Core.Key