Table of Contents

Method Register

Namespace
SharpVectors.IoC
Assembly
SharpVectors.Model.dll

Register(Type, Func<object>)

Registers a factory function which will be called to resolve the specified interface

public ISvgRegisteredType Register(Type anInterface, Func<object> factory)

Parameters

anInterface Type

Interface to register

factory Func<object>

Factory function

Returns

ISvgRegisteredType

Register(Type, Type)

Registers an implementation type for the specified interface

public ISvgRegisteredType Register(Type anInterface, Type implementation)

Parameters

anInterface Type

Interface to register

implementation Type

Implementing type

Returns

ISvgRegisteredType