ITickLabelsPool

StockSharp.Xaml.Charting.Visuals.Axes

Properties

AvailableCount
public int AvailableCount { get; }
value = iTickLabelsPool.AvailableCount

Gets the amount of pooled instances

Count
public int Count { get; }
value = iTickLabelsPool.Count

Gets the summary amount of created instances

IsEmpty
public bool IsEmpty { get; }
value = iTickLabelsPool.IsEmpty

Gets the value indicating whether current ITickLabelsPool instance is empty.

Methods

Dispose
public void Dispose()
iTickLabelsPool.Dispose()

Disposes of items in the pool that implement IDisposable.

Get
public DefaultTickLabel Get()
result = iTickLabelsPool.Get()

Retrieves an item from the pool.

Returns: The item retrieved from the pool.

Get
public DefaultTickLabel Get(Func<DefaultTickLabel, DefaultTickLabel> actionOnCreation)
result = iTickLabelsPool.Get(actionOnCreation)

Retrieves an item from the pool.

Returns: The item retrieved from the pool.

Put
public void Put(DefaultTickLabel item)
iTickLabelsPool.Put(item)

Places an item in the pool.

item
The item to place to the pool.