Click or drag to resize

ExtensionsAsEnumerableT Method

Takes a single item and generates an IEnumerable containing only it.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
public static IEnumerable<T> AsEnumerable<T>(
	this T item


Type: T
Item to wrap in an IEnumerable.

Type Parameters

Type of the enumerable.

Return Value

Type: IEnumerableT

[Missing <returns> documentation for "M:VDS.RDF.Extensions.AsEnumerable``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).
This method taken from Stack Overflow - see. here
See Also