PluginManagerRegister Method (Type, Object) Content Studio 5.7 SDK
Content Studio Web Content Management System

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

Registers the specified service.

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

public virtual void Register(
	Type service,
	Object singleton
)

Parameters

service
Type: SystemType
The service.
singleton
Type: SystemObject
The singleton.

Implements

IPluginManagerRegister(Type, Object)
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