Search Results for

    Show / Hide Table of Contents
    View Source

    Class LazyReadOnlyCollection<T>

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Composing
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class LazyReadOnlyCollection<T>
    Type Parameters
    Name Description
    T

    Constructors

    View Source

    LazyReadOnlyCollection(Func<IEnumerable<T>>)

    Declaration
    public LazyReadOnlyCollection(Func<IEnumerable<T>> lazyCollection)
    Parameters
    Type Name Description
    Func<IEnumerable<T>> lazyCollection
    View Source

    LazyReadOnlyCollection(Lazy<IEnumerable<T>>)

    Declaration
    public LazyReadOnlyCollection(Lazy<IEnumerable<T>> lazyCollection)
    Parameters
    Type Name Description
    Lazy<IEnumerable<T>> lazyCollection

    Properties

    View Source

    Count

    Gets the number of elements in the collection.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    The number of elements in the collection.

    View Source

    Value

    Declaration
    public IEnumerable<T> Value { get; }
    Property Value
    Type Description
    IEnumerable<T>

    Methods

    View Source

    GetEnumerator()

    Returns an enumerator that iterates through the collection.

    Declaration
    public IEnumerator<T> GetEnumerator()
    Returns
    Type Description
    IEnumerator<T>

    An enumerator that can be used to iterate through the collection.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX