Share via


ServiceJsonRpcDescriptor.WithAdditionalServiceInterfaces Method

Definition

Returns an instance of ServiceJsonRpcDescriptor that resembles this one, but with the AdditionalServiceInterfaces property set to a new value.

public Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor WithAdditionalServiceInterfaces (System.Collections.Immutable.ImmutableArray<Type>? value);
member this.WithAdditionalServiceInterfaces : Nullable<System.Collections.Immutable.ImmutableArray<Type>> -> Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor
Public Function WithAdditionalServiceInterfaces (value As Nullable(Of ImmutableArray(Of Type))) As ServiceJsonRpcDescriptor

Parameters

value
Nullable<ImmutableArray<Type>>

The new value for the AdditionalServiceInterfaces property.

Returns

A clone of this instance, with the property changed. Or this same instance if the property already matches.

Applies to