C# Class Spark.Engine.Core.KeyExtensions

Afficher le fichier Open project: raysearchlabs/spark

Méthodes publiques

Méthode Description
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

Method Details

ApplyTo() public static méthode

public static ApplyTo ( this key, Hl7.Fhir.Model.Resource resource ) : void
key this
resource Hl7.Fhir.Model.Resource
Résultat void

Clone() public static méthode

public static Clone ( this self ) : Spark.Engine.Core.Key
self this
Résultat Spark.Engine.Core.Key

CreateFromLocalReference() public static méthode

public static CreateFromLocalReference ( string reference ) : Spark.Engine.Core.Key
reference string
Résultat Spark.Engine.Core.Key

EqualTo() public static méthode

Value equality for two IKey's
public static EqualTo ( this key, IKey other ) : bool
key this
other IKey
Résultat bool

ExtractKey() public static méthode

public static ExtractKey ( Uri uri ) : Spark.Engine.Core.Key
uri System.Uri
Résultat Spark.Engine.Core.Key

ExtractKey() public static méthode

public static ExtractKey ( this resource ) : Spark.Engine.Core.Key
resource this
Résultat Spark.Engine.Core.Key

ExtractKey() public static méthode

public static ExtractKey ( this localhost, Hl7.Fhir.Model.Bundle entry ) : Spark.Engine.Core.Key
localhost this
entry Hl7.Fhir.Model.Bundle
Résultat Spark.Engine.Core.Key

GetSegments() public static méthode

public static GetSegments ( this key ) : IEnumerable
key this
Résultat IEnumerable

HasBase() public static méthode

public static HasBase ( this key ) : bool
key this
Résultat bool

HasResourceId() public static méthode

public static HasResourceId ( this self ) : bool
self this
Résultat bool

HasVersionId() public static méthode

public static HasVersionId ( this self ) : bool
self this
Résultat bool

IsTemporary() public static méthode

Determines if the Key was constructed from a temporary id.
public static IsTemporary ( this key ) : bool
key this
Résultat bool

ToOperationPath() public static méthode

public static ToOperationPath ( this self ) : string
self this
Résultat string

ToRelativeUri() public static méthode

public static ToRelativeUri ( this key ) : Uri
key this
Résultat System.Uri

ToStorageKey() public static méthode

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
Résultat string

ToUri() public static méthode

public static ToUri ( this self ) : Uri
self this
Résultat System.Uri

ToUri() public static méthode

public static ToUri ( this key, Uri endpoint ) : Uri
key this
endpoint System.Uri
Résultat System.Uri

ToUriString() public static méthode

public static ToUriString ( this key ) : string
key this
Résultat string

WithBase() public static méthode

public static WithBase ( this self, string _base ) : Spark.Engine.Core.Key
self this
_base string
Résultat Spark.Engine.Core.Key

WithoutBase() public static méthode

public static WithoutBase ( this self ) : Spark.Engine.Core.Key
self this
Résultat Spark.Engine.Core.Key

WithoutVersion() public static méthode

public static WithoutVersion ( this self ) : Spark.Engine.Core.Key
self this
Résultat Spark.Engine.Core.Key