Table of Contents

Method AddOrReplaceService

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

AddOrReplaceService(Type, object)

Adds a new service to the container or Replaces a existing one.

public void AddOrReplaceService(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.