Class KeywordDependentCollection<TStorage, TAll, TAllPermutations, TForPermutation, TBase, TIInstance, TISet>
Inheritance
KeywordDependentCollection<TStorage, TAll, TAllPermutations, TForPermutation, TBase, TIInstance, TISet>
Syntax
public abstract class KeywordDependentCollection<TStorage, TAll, TAllPermutations, TForPermutation, TBase, TIInstance, TISet>
where TStorage : new()
where TAll : TISet where TAllPermutations : TISet where TForPermutation : TISet, TIInstance where TBase : TISet, TIInstance where TIInstance : KeywordDependentCollection.IInstance where TISet : KeywordDependentCollection.ISet<TIInstance>
Type Parameters
Name |
Description |
TStorage |
|
TAll |
|
TAllPermutations |
|
TForPermutation |
|
TBase |
|
TIInstance |
|
TISet |
|
Properties
all
Declaration
Property Value
allPermutations
Declaration
public TAllPermutations allPermutations { get; }
Property Value
Type |
Description |
TAllPermutations |
|
baseInstance
All permutation will inherit from base's active fields
Declaration
public TBase baseInstance { get; }
Property Value
baseStorage
Declaration
protected TStorage baseStorage { get; set; }
Property Value
Type |
Description |
TStorage |
|
Item[Int32]
Declaration
public TForPermutation this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Type |
Description |
TForPermutation |
|
permutationCount
Declaration
public int permutationCount { get; }
Property Value
permutationStorages
Declaration
protected IEnumerable<TStorage> permutationStorages { get; }
Property Value
Methods
CreateAllPermutationsSmartPointer()
Declaration
protected abstract TAllPermutations CreateAllPermutationsSmartPointer()
Returns
Type |
Description |
TAllPermutations |
|
CreateAllSmartPointer()
Declaration
protected abstract TAll CreateAllSmartPointer()
Returns
CreateBaseSmartPointer()
Declaration
protected abstract TBase CreateBaseSmartPointer()
Returns
CreateForPermutationSmartPointer(Int32)
Declaration
protected abstract TForPermutation CreateForPermutationSmartPointer(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Type |
Description |
TForPermutation |
|
GetOrCreateForPermutationIndex(Int32)
Declaration
protected TStorage GetOrCreateForPermutationIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
Type |
Description |
TStorage |
|
SetForPermutationIndex(Int32, TStorage)
Declaration
protected void SetForPermutationIndex(int index, TStorage value)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
TStorage |
value |
|