View Source
Class LazyReadOnlyCollection<T>
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public sealed class LazyReadOnlyCollection<T> : IReadOnlyCollection<T>
Type Parameters
Constructors
View Source
LazyReadOnlyCollection(Func<IEnumerable<T>>)
Declaration
public LazyReadOnlyCollection(Func<IEnumerable<T>> lazyCollection)
Parameters
Type |
Name |
Description |
Func<System.Collections.IEnumerable<T>> |
lazyCollection |
|
View Source
LazyReadOnlyCollection(Lazy<IEnumerable<T>>)
Declaration
public LazyReadOnlyCollection(Lazy<IEnumerable<T>> lazyCollection)
Parameters
Type |
Name |
Description |
Lazy<System.Collections.IEnumerable<T>> |
lazyCollection |
|
Properties
View Source
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
Value
Declaration
public IEnumerable<T> Value { get; }
Property Value
Type |
Description |
System.Collections.IEnumerable<T> |
|
Methods
View Source
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator<T> |
|