Class SlotAllocator<T>
Inheritance
System.Object
SlotAllocator<T>
Assembly: AxCommon.dll
Syntax
public class SlotAllocator<T>
Type Parameters
Constructors
|
Improve this Doc
View Source
SlotAllocator(IEnumerable<T>)
Declaration
public SlotAllocator(IEnumerable<T> freeNumbers)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
freeNumbers |
|
|
Improve this Doc
View Source
SlotAllocator(IEnumerable<T>, String)
Declaration
public SlotAllocator(IEnumerable<T> freeNumbers, string name)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
freeNumbers |
|
System.String |
name |
|
Properties
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Alloc()
Declaration
Returns
|
Improve this Doc
View Source
Free(T)
Declaration
Parameters
Type |
Name |
Description |
T |
num |
|
|
Improve this Doc
View Source
Init(IEnumerable<T>)
Declaration
public void Init(IEnumerable<T> freeNumbers)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<T> |
freeNumbers |
|