Show / Hide Table of Contents

Interface IContractResolver

Worker specific contract resolver used when it is necessary to bypass the generic MEF composition.

Namespace: DNVGL.One.Compute.Core.WorkerHost
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IContractResolver

Methods

View Source

Get<T>()

Gets an instance of the specified contract.

Declaration
T Get<T>()
Returns
Type Description
T

The contract instance, default if contract is not found.

Type Parameters
Name Description
T

Contract type.

Remarks

If the specified contract is not found, default should be returned.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.