You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
569 B
C#
26 lines
569 B
C#
9 months ago
|
namespace com.azkoss.excellite
|
||
|
{
|
||
|
using System;
|
||
|
using System.Collections;
|
||
|
|
||
|
internal class CellStyleCachedCollection : WeakHashtable
|
||
|
{
|
||
|
// Methods
|
||
|
public CellStyleCachedCollection(int addQueueSize) : base(addQueueSize)
|
||
|
{
|
||
|
base.defaultElement = new CellStyleData(this, true);
|
||
|
}
|
||
|
|
||
|
public void EmptyAddQueue()
|
||
|
{
|
||
|
Queue queue1 = base.AddQueue;
|
||
|
while (queue1.Count > 0)
|
||
|
{
|
||
|
((CellStyle) queue1.Dequeue()).Consolidate();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|