Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.SystemExtensions
toGenList Class
toGenList Methods
ToGeneral(T) Method
toGenList
ToGeneral
T
Method
Wraps an
IList
T
in a non-generic
IList
wrapper.
Namespace:
WhetStone.SystemExtensions
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
IList
ToGeneral
<T>(
this
IList
<T>
this
)
Parameters
this
Type:
System.Collections.Generic
IList
T
the
IList
T
to wrap.
Type Parameters
T
The type of the original
IList
T
.
Return Value
Type:
IList
this
wrapped in a non-generic
IList
wrapper.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IList
T
. 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)
.
Remarks
The wrapper still wraps a generic
IList
T
. Use with caution.
See Also
Reference
toGenList Class
WhetStone.SystemExtensions Namespace