Table of Contents

Method AddService

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

AddService(Type, object)

Adds a new service to the container.

public void AddService(Type serviceInterface, object serviceInstance)

Parameters

serviceInterface Type

The type of the service interface to use as a key for the service.

serviceInstance object

The service instance implementing that interface.