AutofacTypeRegistrar.

RegisterInstance(Type, object) Method

Summary

Registers an instance for a service.

Syntax

public void RegisterInstance(Type service, object implementation)

Parameters

Name Type Description
service Type The service type.
implementation object The implementation instance.

Return Value

Type Description
void