VPEnumerableExtensions AsEnumerable T  Method Virtual Photonics - VTS Library
Virtual Photonics
Extension method to turn any single item into an IEnumerable (i.e. "yield-returns" the item)

Namespace: Vts.Extensions
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static IEnumerable<T> AsEnumerable<T>(
	this T singleItem
)

Parameters

singleItem
Type: T
Type Parameters

T

Return Value

Type: OnlineIEnumerable T 

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 OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also