Click or drag to resize

BoxingGetBoxedType Method (Type)

Returns the boxed class for the given class, or the class itself if already boxed or not a primitive type. For primitive unboxed types returns the boxed types, e.g. returns typeof(int?) for passing typeof(int). For type other class, returns the class passed.

Namespace:  com.espertech.esper.compat
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static Type GetBoxedType(
	this Type type
)

Parameters

type
Type: SystemType
is the type to return the boxed type for

Return Value

Type: Type

[Missing <returns> documentation for "M:com.espertech.esper.compat.Boxing.GetBoxedType(System.Type)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type 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