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: 3.0.2081-alpha+4e2291b954f20d29cba15591683155ca851b26eb
Syntax
public static IEnumerable<Extension> CreateExtensions(
	this IAnnotatedResource me,
	ResourceType applyTo,
	out IEnumerable<IFhirExtensionHandler> appliedExtensions
)

Parameters

me  IAnnotatedResource
The SanteDB canonical model to apply to
applyTo  ResourceType
The object to which the extensions are being applied
appliedExtensions  IEnumerableIFhirExtensionHandler
The extensions that were applied to the object

Return Value

IEnumerableExtension

[Missing <returns> documentation for "M:SanteDB.Messaging.FHIR.Util.ExtensionUtil.CreateExtensions(SanteDB.Core.Model.Interfaces.IAnnotatedResource,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 IAnnotatedResource. 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