ISelection<T> Interface
Namespace: Roslynator
Assembly: Roslynator.Core.dll
Represents consecutive sequence of selected items in a collection.
public interface ISelection<T> : System.Collections.Generic.IReadOnlyList<T>
Type Parameters
T
Derived
Implements
Properties
| Property | Summary |
|---|---|
| FirstIndex | Gets an index of the first selected item. |
| LastIndex | Gets an index of the last selected item. |
Methods
| Method | Summary |
|---|---|
| First() | Gets the first selected item. |
| Last() | Gets the last selected item. |