 | BusinessRulesExtensionsAddBusinessRule(IServiceProvider, Type) Method |
Add a business rule service to this instance of me or the next instance
Namespace: SanteDB.Core.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic static Object AddBusinessRule(
this IServiceProvider me,
Type instance
)
<ExtensionAttribute>
Public Shared Function AddBusinessRule (
me As IServiceProvider,
instance As Type
) As Object
public:
[ExtensionAttribute]
static Object^ AddBusinessRule(
IServiceProvider^ me,
Type^ instance
)
[<ExtensionAttribute>]
static member AddBusinessRule :
me : IServiceProvider *
instance : Type -> Object Parameters
- me IServiceProvider
[Missing <param name="me"/> documentation for "M:SanteDB.Core.Services.BusinessRulesExtensions.AddBusinessRule(System.IServiceProvider,System.Type)"]
- instance Type
[Missing <param name="instance"/> documentation for "M:SanteDB.Core.Services.BusinessRulesExtensions.AddBusinessRule(System.IServiceProvider,System.Type)"]
Return Value
Object[Missing <returns> documentation for "M:SanteDB.Core.Services.BusinessRulesExtensions.AddBusinessRule(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