 | ExtensionMethodsGetBusinessRulesServiceT Method |
Gets the business rules service for a specific information model.
Namespace: SanteDB.CoreAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic static IBusinessRulesService<T> GetBusinessRulesService<T>(
this IApplicationServiceContext me
)
where T : IdentifiedData
<ExtensionAttribute>
Public Shared Function GetBusinessRulesService(Of T As IdentifiedData) (
me As IApplicationServiceContext
) As IBusinessRulesService(Of T)
public:
[ExtensionAttribute]
generic<typename T>
where T : IdentifiedData
static IBusinessRulesService<T>^ GetBusinessRulesService(
IApplicationServiceContext^ me
)
[<ExtensionAttribute>]
static member GetBusinessRulesService :
me : IApplicationServiceContext -> IBusinessRulesService<'T> when 'T : IdentifiedDataParameters
- me IApplicationServiceContext
- The application context.
Type Parameters
- T
- The type of information for which to retrieve the business rules engine instance.
Return Value
IBusinessRulesServiceTReturns an instance of the business rules service.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IApplicationServiceContext. 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