ModelBus Constructor (IServiceProvider, Action<ErrorCategory, String>, IConfiguration)
Constructor -- the application hosting the ModelBus should pass in an IServiceProvider instance so the ModelBus can request services.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
public ModelBus(
IServiceProvider serviceProvider,
Action<ErrorCategory, string> errorCallback,
IConfiguration configuration
)
public:
ModelBus(
IServiceProvider^ serviceProvider,
Action<ErrorCategory, String^>^ errorCallback,
IConfiguration^ configuration
)
new :
serviceProvider:IServiceProvider *
errorCallback:Action<ErrorCategory, string> *
configuration:IConfiguration -> ModelBus
Public Sub New (
serviceProvider As IServiceProvider,
errorCallback As Action(Of ErrorCategory, String),
configuration As IConfiguration
)
Parameters
See Also
ModelBus Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top