Table of Contents

Class BrokeredServiceContainer.ServiceOffering

Namespace
Nerdbank.JsonRpc.BrokeredServices
Assembly
Nerdbank.JsonRpc.dll

Describes a host-discovered implementation without registration policy.

protected abstract class BrokeredServiceContainer.ServiceOffering
Inheritance
BrokeredServiceContainer.ServiceOffering
Inherited Members

Properties

Descriptor

Gets the server descriptor.

public IJsonRpcDescriptor Descriptor { get; }

Property Value

IJsonRpcDescriptor

Methods

Create<T>(IJsonRpcDescriptor<T>, BrokeredServiceFactory<T>)

Captures a typed descriptor and its matching factory for host discovery.

public static BrokeredServiceContainer.ServiceOffering Create<T>(IJsonRpcDescriptor<T> descriptor, BrokeredServiceFactory<T> factory) where T : class

Parameters

descriptor IJsonRpcDescriptor<T>

The server descriptor.

factory BrokeredServiceFactory<T>

The per-client factory.

Returns

BrokeredServiceContainer.ServiceOffering

The discovered implementation.

Type Parameters

T

The primary service contract.