Click or drag to resize
ObjectExtensionsInitializeExtendersT Method
Attaches new behavior using extenders with the matching scope.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.2.23
Syntax
C#
public static void InitializeExtenders<T>(
	this T instance,
	string scope
)
where T : class

Parameters

instance
Type: T
The instance to attach new behavior to.
scope
Type: SystemString
The scope to limit a selection of extenders.

Type Parameters

T
The type of instance to attach new behavior to.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also