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