SfcCollatedDictionaryCollection<T,K,ParentT> SfcCollatedDictionaryCollection<T,K,ParentT> SfcCollatedDictionaryCollection<T,K,ParentT> Class

Definition

public abstract class SfcCollatedDictionaryCollection<T,K,ParentT> : Microsoft.SqlServer.Management.Sdk.Sfc.SfcCollection<T,K,ParentT>, System.Collections.Generic.IComparer<K>, System.Collections.Generic.IEnumerable<T> where T : SfcInstance where K : SfcKey where ParentT : SfcInstance
type SfcCollatedDictionaryCollection<'T, 'K, 'ParentT (requires 'T :> SfcInstance and 'K :> SfcKey and 'ParentT :> SfcInstance)> = class
    inherit SfcCollection<'T, 'K, 'ParentT (requires 'T :> SfcInstance and 'K :> SfcKey and 'ParentT :> SfcInstance)>
    interface IComparer<'K (requires 'K :> SfcKey)>
    interface seq<'T (requires 'T :> SfcInstance)>
    interface IEnumerable
Public MustInherit Class SfcCollatedDictionaryCollection(Of T, K, ParentT)
Inherits SfcCollection(Of T, K, ParentT)
Implements IComparer(Of K), IEnumerable(Of T)

Type Parameters

T
K
ParentT
Inheritance
SfcCollatedDictionaryCollection<T,K,ParentT>SfcCollatedDictionaryCollection<T,K,ParentT>SfcCollatedDictionaryCollection<T,K,ParentT>
Derived
Implements

Constructors

SfcCollatedDictionaryCollection<T,K,ParentT>(ParentT) SfcCollatedDictionaryCollection<T,K,ParentT>(ParentT) SfcCollatedDictionaryCollection<T,K,ParentT>(ParentT)
SfcCollatedDictionaryCollection<T,K,ParentT>(ParentT, IComparer<String>) SfcCollatedDictionaryCollection<T,K,ParentT>(ParentT, IComparer<String>) SfcCollatedDictionaryCollection<T,K,ParentT>(ParentT, IComparer<String>)

Properties

Ascending Ascending Ascending

Sort in an ascending order manner for the current collection culture.

Count Count Count
CultureInfo CultureInfo CultureInfo

Sorting the collection will use this .NET culture info.

IgnoreCase IgnoreCase IgnoreCase

Sort in a case-insensitive manner for the current collection culture.

IListSource.ContainsListCollection IListSource.ContainsListCollection IListSource.ContainsListCollection Inherited from SfcCollection<T,K,ParentT>
Initialized Initialized Initialized Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.Count ISfcCollection.Count ISfcCollection.Count Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.Initialized ISfcCollection.Initialized ISfcCollection.Initialized Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.Parent ISfcCollection.Parent ISfcCollection.Parent Inherited from SfcCollection<T,K,ParentT>
IsReadOnly IsReadOnly IsReadOnly
IsSynchronized IsSynchronized IsSynchronized Inherited from SfcCollection<T,K,ParentT>
Item[K] Item[K] Item[K] Inherited from SfcCollection<T,K,ParentT>
Parent Parent Parent Inherited from SfcCollection<T,K,ParentT>
SyncRoot SyncRoot SyncRoot Inherited from SfcCollection<T,K,ParentT>

Methods

Add(T) Add(T) Add(T)

Adds the obj to the collection

(Inherited from SfcCollection<T,K,ParentT>)
AddImpl(T) AddImpl(T) AddImpl(T)
AddShadow(T) AddShadow(T) AddShadow(T)
Clear() Clear() Clear()
Contains(K) Contains(K) Contains(K)
Contains(T) Contains(T) Contains(T)
CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) Inherited from SfcCollection<T,K,ParentT>
CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)
CreateAndInitializeChildObject(K) CreateAndInitializeChildObject(K) CreateAndInitializeChildObject(K) Inherited from SfcCollection<T,K,ParentT>
EnsureCollectionInitialized() EnsureCollectionInitialized() EnsureCollectionInitialized() Inherited from SfcCollection<T,K,ParentT>
FinishMerge() FinishMerge() FinishMerge()
GetCollectionElementNameImpl() GetCollectionElementNameImpl() GetCollectionElementNameImpl() Inherited from SfcCollection<T,K,ParentT>
GetElementFactoryImpl() GetElementFactoryImpl() GetElementFactoryImpl() Inherited from SfcCollection<T,K,ParentT>
GetEnumerator() GetEnumerator() GetEnumerator()
GetExistingObjectByKey(K) GetExistingObjectByKey(K) GetExistingObjectByKey(K)
GetObjectByKey(K) GetObjectByKey(K) GetObjectByKey(K)
InitInnerCollection() InitInnerCollection() InitInnerCollection()
PrepareMerge() PrepareMerge() PrepareMerge()
Refresh() Refresh() Refresh() Inherited from SfcCollection<T,K,ParentT>
Refresh(Boolean) Refresh(Boolean) Refresh(Boolean) Inherited from SfcCollection<T,K,ParentT>
Remove(T) Remove(T) Remove(T)
RemoveImpl(T) RemoveImpl(T) RemoveImpl(T)
RemoveInternal(T) RemoveInternal(T) RemoveInternal(T)

Remove the item given by the key. Existing object are marked with a state of ToBeDropped for dropping when their parent is Altered or Dropped. At that time the marked object will be removed fro the collection. Pending, None or Dropped objects are removed from the collection immediately.

(Inherited from SfcCollection<T,K,ParentT>)
Rename(T, K) Rename(T, K) Rename(T, K) Inherited from SfcCollection<T,K,ParentT>
ResetInnerCollection() ResetInnerCollection() ResetInnerCollection()

Call this if any of the CultureInfo, IgnoreCase, or Ascending properties change after Initialzation. The collection is reset to honor the new settings. TODO: The user is responsible for calling this after changing whatever properties they desire, it should be automated.

TryGetValue(K, T) TryGetValue(K, T) TryGetValue(K, T)

Explicit Interface Implementations

IComparer<K>.Compare(K, K) IComparer<K>.Compare(K, K) IComparer<K>.Compare(K, K)

Compare keys based on our current CultureInfo and IgnoreCase properties unless a custom comparer has been passed in.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() Inherited from SfcCollection<T,K,ParentT>
IListSource.GetList() IListSource.GetList() IListSource.GetList() Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.Add(SfcInstance) ISfcCollection.Add(SfcInstance) ISfcCollection.Add(SfcInstance) Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.AddShadow(SfcInstance) ISfcCollection.AddShadow(SfcInstance) ISfcCollection.AddShadow(SfcInstance) Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.EnsureInitialized() ISfcCollection.EnsureInitialized() ISfcCollection.EnsureInitialized() Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.FinishMerge() ISfcCollection.FinishMerge() ISfcCollection.FinishMerge() Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.GetCollectionElementNameImpl() ISfcCollection.GetCollectionElementNameImpl() ISfcCollection.GetCollectionElementNameImpl() Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.GetElementFactory() ISfcCollection.GetElementFactory() ISfcCollection.GetElementFactory() Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.GetExisting(SfcKey, SfcInstance) ISfcCollection.GetExisting(SfcKey, SfcInstance) ISfcCollection.GetExisting(SfcKey, SfcInstance) Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.GetObjectByKey(SfcKey) ISfcCollection.GetObjectByKey(SfcKey) ISfcCollection.GetObjectByKey(SfcKey) Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.PrepareMerge() ISfcCollection.PrepareMerge() ISfcCollection.PrepareMerge() Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.Remove(SfcInstance) ISfcCollection.Remove(SfcInstance) ISfcCollection.Remove(SfcInstance) Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.RemoveElement(SfcInstance) ISfcCollection.RemoveElement(SfcInstance) ISfcCollection.RemoveElement(SfcInstance) Inherited from SfcCollection<T,K,ParentT>
ISfcCollection.Rename(SfcInstance, SfcKey) ISfcCollection.Rename(SfcInstance, SfcKey) ISfcCollection.Rename(SfcInstance, SfcKey) Inherited from SfcCollection<T,K,ParentT>

Applies to