Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

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

Declaration

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

Summary

Constructor.

Parameters

intcapacity The number of elements that the new list can initially store.
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.