| SecurityExtensionsToPolicyInstance Method |
Convert an IPolicy to a policy instance
Namespace:
SanteDB.Core.Security
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public static SecurityPolicyInstance ToPolicyInstance(
this IPolicyInstance me
)
<ExtensionAttribute>
Public Shared Function ToPolicyInstance (
me As IPolicyInstance
) As SecurityPolicyInstance
public:
[ExtensionAttribute]
static SecurityPolicyInstance^ ToPolicyInstance(
IPolicyInstance^ me
)
[<ExtensionAttribute>]
static member ToPolicyInstance :
me : IPolicyInstance -> SecurityPolicyInstance
Parameters
- me
- Type: SanteDB.Core.SecurityIPolicyInstance
[Missing <param name="me"/> documentation for "M:SanteDB.Core.Security.SecurityExtensions.ToPolicyInstance(SanteDB.Core.Security.IPolicyInstance)"]
Return Value
Type:
SecurityPolicyInstance[Missing <returns> documentation for "M:SanteDB.Core.Security.SecurityExtensions.ToPolicyInstance(SanteDB.Core.Security.IPolicyInstance)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IPolicyInstance. 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