Compartir a través de


GlobalServiceProvider.AddService(Type, Object) Method

Definition

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

Applies to