[This is preliminary documentation and is subject to change.]
Defines the extra functionality available in all Persistate
collections which can hold objects from persistent storage.
Declaration Syntax
C# |
public interface IPersistateList : IList, ICollection, IEnumerable, IClassified, IEquatable<IPersistateList>
Members
All Members | Methods | Properties | Events | ||
Icon | Member | Description |
---|---|---|
Add(Object) |
Adds an item to the IList.
(Inherited from IList.) | |
CallTree(CallTreeData, Int32) | Calls a method for the implementing object and every object under
it in the persistent tree. (Inherited from IClassified.) | |
Changed | This event is raised whenever the collection may have changed.
| |
Class | Gets the ObjectClass associated
with the object or collection. For collections, this will be the
ObjectClass of its elements. (Inherited from IClassified.) | |
Clear()()()() |
Removes all items from the IList.
(Inherited from IList.) | |
Contains(Object) |
Determines whether the IList contains a specific value.
(Inherited from IList.) | |
CopyTo(Array, Int32) | (Inherited from ICollection.) | |
Count |
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.) | |
Equals(T) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from IEquatable<(Of <(<'IPersistateList>)>)>.) | |
Exclude(Persistent, Boolean) | This method supports the Persistate infrastructure and should not
be used in open code. | |
Flags | Gets a variable containing the FlagSet
flags for the collection. | |
GetDefaultLayout()()()() | Finds the default Layout with which to
display the IClassified object. (Inherited from IClassified.) | |
GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.) | |
Include(Persistent, Boolean) | This method supports the Persistate infrastructure and should not
be used in open code. | |
IndexOf(Object) |
Determines the index of a specific item in the IList.
(Inherited from IList.) | |
Insert(Int32, Object) |
Inserts an item to the IList at the specified index.
(Inherited from IList.) | |
IsAssociated |
Gets a value indicating whether this is an associated collection.
| |
IsFixedSize |
Gets a value indicating whether the IList has a fixed size.
(Inherited from IList.) | |
IsReadOnly |
Gets a value indicating whether the IList is read-only.
(Inherited from IList.) | |
IsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.) | |
Item[([( Int32])]) |
Gets or sets the element at the specified index.
(Inherited from IList.) | |
MoveDown(IOrderable) | Moves an object downwards in an ordered collection, i.e. towards
the end. | |
MoveUp(IOrderable) | Moves an object upwards in an ordered collection, i.e. towards
the start. | |
NominativeText | Gets nominative text for this object or collection. This is
usually slightly less verbose that the TitleText. (Inherited from IClassified.) | |
Parent | Gets the parent Persistent object of the object or collection.
(Inherited from IClassified.) | |
Refresh()()()() | Refreshes the collection from persistent storage. | |
RefreshMany()()()() | Retrieves all objects in a "many" type collection from persistent
storage. | |
Remove(Object) |
Removes the first occurrence of a specific object from the IList.
(Inherited from IList.) | |
RemoveAll()()()() | Removes all objects from the collection, and also from
persistent storage. | |
RemoveAt(Int32) |
Removes the IList item at the specified index.
(Inherited from IList.) | |
SaveToMessage(Message) | Saves information about this IClassified to a Message. (Inherited from IClassified.) | |
Slot | The slot number of the member for the collection. This is the
slot of the member in the ObjectClass of the
collection's parent object. | |
SyncRoot |
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.) | |
TitleText | Gets a title for the object or collection. This title is
typically bound to the title labels in form and grid layouts. (Inherited from IClassified.) |
Remarks
for the moment, IndexedList{T} is
the only collection that implements this interface.