Click or drag to resize

TypeExtensionsAsSingletonT Method

Ases the singleton.

Namespace:  com.espertech.esper.compat
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static T[] AsSingleton<T>(
	this T value
)

Parameters

value
Type: T
The value.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:com.espertech.esper.compat.TypeExtensions.AsSingleton``1(``0)"]

Return Value

Type: T

[Missing <returns> documentation for "M:com.espertech.esper.compat.TypeExtensions.AsSingleton``1(``0)"]

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