Describes a series of offset changes.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[SerializableAttribute] public sealed class OffsetChangeMap : Collection<OffsetChangeMapEntry>
<SerializableAttribute> _ Public NotInheritable Class OffsetChangeMap _ Inherits Collection(Of OffsetChangeMapEntry)
[SerializableAttribute] public ref class OffsetChangeMap sealed : public Collection<OffsetChangeMapEntry>
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
OffsetChangeMap()()()() |
Creates a new OffsetChangeMap instance.
| |
Add(T) | Adds an object to the end of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Clear()()()() | Removes all elements from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Contains(T) | Determines whether an element is in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
CopyTo(array<T>[]()[][], Int32) | Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Count | Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Empty |
Immutable OffsetChangeMap that is empty.
| |
Equals(Object) | (Inherited from Object.) | |
Freeze()()()() |
Freezes this instance.
| |
FromSingleElement(OffsetChangeMapEntry) |
Creates a new OffsetChangeMap with a single element.
| |
GetEnumerator()()()() | Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNewOffset(Int32, AnchorMovementType) |
Gets the new offset where the specified offset moves after this document change.
| |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf(T) | Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Insert(Int32, T) | Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Invert()()()() |
Calculates the inverted OffsetChangeMap (used for the undo operation).
| |
IsFrozen |
Gets if this instance is frozen. Frozen instances are immutable and thus thread-safe.
| |
IsValidForDocumentChange(Int32, Int32, Int32) |
Gets whether this OffsetChangeMap is a valid explanation for the specified document change.
| |
Item[([( Int32])]) | Gets or sets the element at the specified index. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
Remove(T) | Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
RemoveAt(Int32) | Removes the element at the specified index of the Collection<(Of <(<'T>)>)>. (Inherited from Collection<(Of <(<'OffsetChangeMapEntry>)>)>.) | |
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | ||
Collection<(Of <(<'OffsetChangeMapEntry>)>)> | ||
OffsetChangeMap |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238