Click or drag to resize

EnumerableExtensionsForNetForumEntitySingleOrDefaultByIdT Method


Namespace: Ignition.Framework.Entities
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntax
public static T SingleOrDefaultById<T>(
	this IEnumerable<T> source,
	NetForumId id
)
where T : NetForumEntity

Parameters

source  IEnumerableT
 
id  NetForumId
 

Type Parameters

T

Return Value

T

Usage Note

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