GlobalServiceProvider.AddService(Type, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Microsoft.VisualStudio.Sdk.TestFramework.GlobalServiceProvider.OleServiceProviderMock.AddService(System.Type,System.Object)
public void AddService (Type serviceType, object instance);
member this.AddService : Type * obj -> unit
Public Sub AddService (serviceType As Type, instance As Object)
Parameters
- serviceType
- Type
- instance
- Object