Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: AutoList<T>(IEnumerable<T>, Func<int, T>)

  • Declared in: RT.Util.Collections.AutoList<T>

Declaration

public AutoList<T>(
    IEnumerable<T> collection,
    Func<int, T> initializer = null
)

Summary

Constructor.

Parameters

IEnumerable<T>collection A collection whose elements are copied to the new list.
Func<int, T>initializer A function which creates a value to be used for non-existent elements upon their creation. If null, default(T) is used instead.