Click or drag to resize

ExtensionUtilCreateExtensions Method

Runs all registered extensions on the object

Namespace:  SanteDB.Messaging.FHIR.Util
Assembly:  SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 2.2.1
Syntax
public static IEnumerable<Extension> CreateExtensions(
	this IIdentifiedEntity me,
	ResourceType applyTo,
	out IEnumerable<IFhirExtensionHandler> appliedExtensions
)

Parameters

me
Type: SanteDB.Core.Model.InterfacesIIdentifiedEntity
The SanteDB canonical model to apply to
applyTo
Type: ResourceType
The object to which the extensions are being applied
appliedExtensions
Type: System.Collections.GenericIEnumerableIFhirExtensionHandler
The extensions that were applied to the object

Return Value

Type: IEnumerableExtension

[Missing <returns> documentation for "M:SanteDB.Messaging.FHIR.Util.ExtensionUtil.CreateExtensions(SanteDB.Core.Model.Interfaces.IIdentifiedEntity,Hl7.Fhir.Model.ResourceType,System.Collections.Generic.IEnumerable{SanteDB.Messaging.FHIR.Extensions.IFhirExtensionHandler}@)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IIdentifiedEntity. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also