ITickLabelsPool

StockSharp.Xaml.Charting.Visuals.Axes

Eigenschaften

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

Bekommt die Anzahl der gepoolten Instanzen

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

Bekommt die Summe der erstellten Instanzen

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

Gibt den Wert an, der angibt, ob die aktuelle ITickLabelsPool @ Instanz leer ist.

Methoden

Dispose
public void Dispose()
iTickLabelsPool.Dispose()

Entsorgt Elemente im Pool, die IDisposable implementieren.

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

Holt einen Artikel aus dem Pool ab.

Rückgabe: Der aus dem Pool abgerufene Gegenstand.

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

Holt einen Artikel aus dem Pool ab.

Rückgabe: Der aus dem Pool abgerufene Gegenstand.

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

Legt einen Gegenstand in den Pool.

item
Der Gegenstand, der in den Pool gelegt werden soll.