Share via


BrokeredServiceContractTestBase<TInterface,TServiceMock> Constructor

Definition

Initializes a new instance of the BrokeredServiceContractTestBase<TInterface,TServiceMock> class.

public BrokeredServiceContractTestBase (Xunit.Abstractions.ITestOutputHelper logger, Microsoft.ServiceHub.Framework.ServiceRpcDescriptor serviceRpcDescriptor);
new Microsoft.VisualStudio.Sdk.TestFramework.BrokeredServiceContractTestBase<'Interface, #'Interface (requires 'Interface : null)> : Xunit.Abstractions.ITestOutputHelper * Microsoft.ServiceHub.Framework.ServiceRpcDescriptor -> Microsoft.VisualStudio.Sdk.TestFramework.BrokeredServiceContractTestBase<'Interface, #'Interface (requires 'Interface : null)>
Public Sub New (logger As ITestOutputHelper, serviceRpcDescriptor As ServiceRpcDescriptor)

Parameters

logger
Xunit.Abstractions.ITestOutputHelper

The xunit logging helper. Can be taken directly as a concrete test class constructor parameter.

serviceRpcDescriptor
ServiceRpcDescriptor

The descriptor that the product will use to request or proffer the brokered service.

Applies to