IPluginManagerRegisterTService 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 service as a singleton instance.

Namespace: ContentStudio.Plugins
Assembly: CS5Interfaces (in CS5Interfaces.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

void Register<TService>(
	TService singleton
)

Parameters

singleton
Type: TService
The instance to register.

Type Parameters

TService
The type of the service. This implementation must be an interface.
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