Click or drag to resize

UniqueConstraint Methods

The UniqueConstraint type exposes the following members.

Methods
  NameDescription
Public methodAdd (Inherited from CollectionIFieldElementCore.)
Public methodAddIndex
Adds the PropertyDescriptor to the indexes used for searching.
(Inherited from CommandifiedListT.)
Public methodAddNew
Adds a new item to the list.
(Inherited from CommandifiedListT.)
Public methodAddRange
Adds the elements in the range specified to this list in one command
(Inherited from CommandifiedListT.)
Public methodApplySort
Sorts the list based on a PropertyDescriptor and a ListSortDirection.
(Inherited from CommandifiedListT.)
Public methodBeginEdit
Begins an edit on an object.
Public methodCancelEdit
Public methodClear (Inherited from CollectionIFieldElementCore.)
Protected methodClearItems (Inherited from CommandifiedListT.)
Public methodContains (Inherited from CollectionIFieldElementCore.)
Public methodCopyTo (Inherited from CollectionIFieldElementCore.)
Protected methodDeserializeAdditionalAttributes
Deserializes the additional attributes of the root element
(Inherited from FieldReferenceList.)
Protected methodDeserializeFields
Deserializes the fields.
(Inherited from FieldReferenceList.)
Public methodDeserializeFromReader
Deserializes the data in this unique constaint from the xml in the reader passed in
(Inherited from FieldReferenceList.)
Public methodEndEdit
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Returns the index of the row that has the given PropertyDescriptor.
(Inherited from CommandifiedListT.)
Protected methodGetElementNameForXml
Gets the element name for XML.
(Overrides FieldReferenceListGetElementNameForXml.)
Public methodGetEnumerator (Inherited from CollectionIFieldElementCore.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionIFieldElementCore.)
Public methodInsert (Inherited from CollectionIFieldElementCore.)
Protected methodInsertItem (Inherited from CommandifiedListT.)
Protected methodMarkElementAsChanged
Marks the uc definition as changed.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveElement
Moves the element at index currentIndex to the indexToMoveTo index.
(Inherited from CommandifiedListT.)
Protected methodNotifyChange
Notifies a list change to observers with the parameters passed in.
(Inherited from CommandifiedListT.)
Protected methodOnAddingItem
Called right before the item passed in is about to be added to this list. Use this method to do event handler housekeeping on elements in this list.
(Inherited from FieldElementCoreListTField.)
Protected methodOnAddingItemComplete
Called right after the item passed in has been added to the list
(Overrides CommandifiedListTOnAddingItemComplete(T).)
Protected methodOnClearing
Called right before the clear action starts. Use this method to do event handler housekeeping on elements in this list.
(Inherited from FieldElementCoreListTField.)
Protected methodOnClearingComplete
Called right after the clear action has been completed.
(Overrides CommandifiedListTOnClearingComplete.)
Protected methodOnElementPropertyChanged
Called when the PropertyChanged event was raised by an element in this list.
(Inherited from CommandifiedListT.)
Protected methodOnPropertyChanged
Called when a property has been changed.
(Inherited from FieldElementCoreListTField.)
Protected methodOnRemovingItem
Called right before the item passed in is about to be removed from this list. Use this method to do event handler housekeeping on elements in this list.
(Inherited from FieldElementCoreListTField.)
Protected methodOnRemovingItemComplete
Called right after the item passed in has been removed from this list.
(Overrides CommandifiedListTOnRemovingItemComplete(T).)
Protected methodPerformSyncedAction(Action)
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedListT.)
Protected methodPerformSyncedActionTFunc(FuncTFunc)
Performs the specified action, either inside a lock on SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
(Inherited from CommandifiedListT.)
Protected methodPrepareFieldForListRemoval
Prepares the field for list removal.
(Inherited from FieldElementCoreListTField.)
Protected methodPropagateValidatorsToLoadedObjects
Propagates the validators to loaded objects.
(Inherited from FieldElementCoreListTField.)
Public methodRemove (Inherited from CollectionIFieldElementCore.)
Public methodRemoveAt (Inherited from CollectionIFieldElementCore.)
Public methodRemoveIndex
Removes the PropertyDescriptor from the indexes used for searching.
(Inherited from CommandifiedListT.)
Protected methodRemoveItem (Inherited from CommandifiedListT.)
Public methodRemoveSort
Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from CommandifiedListT.)
Public methodResetBindings
Resets the bindings. Raises a ListChanged.Reset event
(Inherited from CommandifiedListT.)
Protected methodSerializeAdditionalAttributes
Serializes the additional attributes to the root element
(Overrides FieldReferenceListSerializeAdditionalAttributes(ISerializer).)
Protected methodSerializeFields
Serializes the field references of the fields in this list
(Inherited from FieldReferenceList.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
(Inherited from FieldReferenceList.)
Public methodSetAsNewContents
Sets the fields passed in as the new contents of this list. This is a separate routine, so the multiple actions taken are wrappeable into one command
(Inherited from FieldElementCoreListTField.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CommandifiedListT.)
Protected methodSetValidatorsForField
Sets the validators for field.
(Inherited from FieldElementCoreListTField.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from CommandifiedListT.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionIFieldElementCore.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionIFieldElementCore.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionIFieldElementCore.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionIFieldElementCore.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionIFieldElementCore.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionIFieldElementCore.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionIFieldElementCore.)
Top
See Also