Search Results for

    Show / Hide Table of Contents

    Class MappedList

    IList wrapper that remaps values via a Func (eg for index maps)

    Inheritance
    Object
    MappedList
    Implements
    IList<Int32>
    ICollection<Int32>
    IEnumerable<Int32>
    IEnumerable
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class MappedList : IList<int>, ICollection<int>, IEnumerable<int>, IEnumerable

    Constructors

    MappedList(IList<Int32>, Int32[])

    Declaration
    public MappedList(IList<int> list, int[] map)
    Parameters
    Type Name Description
    IList<Int32> list
    Int32[] map

    Fields

    BaseList

    Declaration
    public IList<int> BaseList
    Field Value
    Type Description
    IList<Int32>

    MapF

    Declaration
    public Func<int, int> MapF
    Field Value
    Type Description
    Func<Int32, Int32>

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    Boolean

    Item[Int32]

    Declaration
    public int this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    Int32

    Methods

    Add(Int32)

    Declaration
    public void Add(int item)
    Parameters
    Type Name Description
    Int32 item

    Clear()

    Declaration
    public void Clear()

    Contains(Int32)

    Declaration
    public bool Contains(int item)
    Parameters
    Type Name Description
    Int32 item
    Returns
    Type Description
    Boolean

    CopyTo(Int32[], Int32)

    Declaration
    public void CopyTo(int[] array, int arrayIndex)
    Parameters
    Type Name Description
    Int32[] array
    Int32 arrayIndex

    GetEnumerator()

    Declaration
    public IEnumerator<int> GetEnumerator()
    Returns
    Type Description
    IEnumerator<Int32>

    IndexOf(Int32)

    Declaration
    public int IndexOf(int item)
    Parameters
    Type Name Description
    Int32 item
    Returns
    Type Description
    Int32

    Insert(Int32, Int32)

    Declaration
    public void Insert(int index, int item)
    Parameters
    Type Name Description
    Int32 index
    Int32 item

    Remove(Int32)

    Declaration
    public bool Remove(int item)
    Parameters
    Type Name Description
    Int32 item
    Returns
    Type Description
    Boolean

    RemoveAt(Int32)

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    Int32 index

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    In This Article
    Back to top ViRGIS VR GIS