C# Class Spark.Engine.Extensions.InteractionExtensions

Exibir arquivo Open project: raysearchlabs/spark

Public Methods

Method Description
Append ( this bundle, IEnumerable interactions ) : Hl7.Fhir.Model.Bundle
Append ( this bundle, Spark.Engine.Core.Interaction interaction ) : Hl7.Fhir.Model.Bundle
Assert ( this state, InteractionState correct ) : void
ExtractKey ( this localhost, Hl7.Fhir.Model.Bundle entry ) : Key
GetResources ( this bundle ) : IEnumerable
HasResource ( this entry ) : bool
IsDeleted ( this entry ) : bool
Present ( this entry ) : bool
Replace ( this bundle, IEnumerable entries ) : Hl7.Fhir.Model.Bundle
SupplementBase ( this interaction, Uri _base ) : void
SupplementBase ( this interaction, string _base ) : void
ToInteraction ( this localhost, Hl7.Fhir.Model.Bundle bundleEntry ) : Spark.Engine.Core.Interaction
ToTransactionEntry ( this interaction ) : Hl7.Fhir.Model.Bundle.BundleEntryComponent
Transferable ( this interactions ) : IEnumerable
TranslateToSparseEntry ( this interaction ) : Hl7.Fhir.Model.Bundle.BundleEntryComponent

Private Methods

Method Description
DetermineMethod ( ILocalhost localhost, IKey key ) : Bundle.HTTPVerb
ExtrapolateMethod ( this localhost, Hl7.Fhir.Model.Bundle entry, IKey key ) : Bundle.HTTPVerb

Method Details

Append() public static method

public static Append ( this bundle, IEnumerable interactions ) : Hl7.Fhir.Model.Bundle
bundle this
interactions IEnumerable
return Hl7.Fhir.Model.Bundle

Append() public static method

public static Append ( this bundle, Spark.Engine.Core.Interaction interaction ) : Hl7.Fhir.Model.Bundle
bundle this
interaction Spark.Engine.Core.Interaction
return Hl7.Fhir.Model.Bundle

Assert() public static method

public static Assert ( this state, InteractionState correct ) : void
state this
correct InteractionState
return void

ExtractKey() public static method

public static ExtractKey ( this localhost, Hl7.Fhir.Model.Bundle entry ) : Key
localhost this
entry Hl7.Fhir.Model.Bundle
return Key

GetResources() public static method

public static GetResources ( this bundle ) : IEnumerable
bundle this
return IEnumerable

HasResource() public static method

public static HasResource ( this entry ) : bool
entry this
return bool

IsDeleted() public static method

public static IsDeleted ( this entry ) : bool
entry this
return bool

Present() public static method

public static Present ( this entry ) : bool
entry this
return bool

Replace() public static method

public static Replace ( this bundle, IEnumerable entries ) : Hl7.Fhir.Model.Bundle
bundle this
entries IEnumerable
return Hl7.Fhir.Model.Bundle

SupplementBase() public static method

public static SupplementBase ( this interaction, Uri _base ) : void
interaction this
_base System.Uri
return void

SupplementBase() public static method

public static SupplementBase ( this interaction, string _base ) : void
interaction this
_base string
return void

ToInteraction() public static method

public static ToInteraction ( this localhost, Hl7.Fhir.Model.Bundle bundleEntry ) : Spark.Engine.Core.Interaction
localhost this
bundleEntry Hl7.Fhir.Model.Bundle
return Spark.Engine.Core.Interaction

ToTransactionEntry() public static method

public static ToTransactionEntry ( this interaction ) : Hl7.Fhir.Model.Bundle.BundleEntryComponent
interaction this
return Hl7.Fhir.Model.Bundle.BundleEntryComponent

Transferable() public static method

public static Transferable ( this interactions ) : IEnumerable
interactions this
return IEnumerable

TranslateToSparseEntry() public static method

public static TranslateToSparseEntry ( this interaction ) : Hl7.Fhir.Model.Bundle.BundleEntryComponent
interaction this
return Hl7.Fhir.Model.Bundle.BundleEntryComponent