PluginManagerRegisterTService Method (TService) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Registers the specified singleton.

Namespace: ContentStudio.Plugins
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public virtual void Register<TService>(
	TService singleton
)

Parameters

singleton
Type: TService
The singleton.

Type Parameters

TService
The type of the service.

Implements

IPluginManagerRegisterTService(TService)
Remarks

When you register the plug-in with this method, all subsequent calls to any of the GetInstance methods should return the same, registered instance.
See Also

Reference