C# 클래스 Spark.Engine.Core.KeyExtensions

파일 보기 프로젝트 열기: raysearchlabs/spark

공개 메소드들

메소드 설명
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