| BusinessRulesExtensionsGetBusinessRuleService Method |
Add a business rule service to this instance of me or the next instance
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public static IBusinessRulesService GetBusinessRuleService(
this IServiceProvider me,
Type instanceType
)
<ExtensionAttribute>
Public Shared Function GetBusinessRuleService (
me As IServiceProvider,
instanceType As Type
) As IBusinessRulesService
public:
[ExtensionAttribute]
static IBusinessRulesService^ GetBusinessRuleService(
IServiceProvider^ me,
Type^ instanceType
)
[<ExtensionAttribute>]
static member GetBusinessRuleService :
me : IServiceProvider *
instanceType : Type -> IBusinessRulesService
Parameters
- me
- Type: SystemIServiceProvider
[Missing <param name="me"/> documentation for "M:SanteDB.Core.Services.BusinessRulesExtensions.GetBusinessRuleService(System.IServiceProvider,System.Type)"]
- instanceType
- Type: SystemType
[Missing <param name="instanceType"/> documentation for "M:SanteDB.Core.Services.BusinessRulesExtensions.GetBusinessRuleService(System.IServiceProvider,System.Type)"]
Return Value
Type:
IBusinessRulesService[Missing <returns> documentation for "M:SanteDB.Core.Services.BusinessRulesExtensions.GetBusinessRuleService(System.IServiceProvider,System.Type)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IServiceProvider. 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