Class CollectionExtensions
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class CollectionExtensions
Methods
View SourceToSingleItemCollection<T>(T)
Declaration
public static ICollection<T> ToSingleItemCollection<T>(this T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Returns
Type | Description |
---|---|
ICollection<T> |
Type Parameters
Name | Description |
---|---|
T |