 | DataConverterToModel Method (XAD) |
Converts a list of
XAD addresses to a list of
EntityAddress addresses.
Namespace:
SanteDB.Messaging.HL7
Assembly:
SanteDB.Messaging.HL7 (in SanteDB.Messaging.HL7.dll) Version: 2.2.1
Syntaxpublic static IEnumerable<EntityAddress> ToModel(
this XAD[] addresses
)
<ExtensionAttribute>
Public Shared Function ToModel (
addresses As XAD()
) As IEnumerable(Of EntityAddress)
public:
[ExtensionAttribute]
static IEnumerable<EntityAddress^>^ ToModel(
array<XAD^>^ addresses
)
[<ExtensionAttribute>]
static member ToModel :
addresses : XAD[] -> IEnumerable<EntityAddress>
Parameters
- addresses
- Type: XAD
The addresses to be converted.
Return Value
Type:
IEnumerableEntityAddressReturns a list of entity addresses.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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