Coree.NETASP
  • API
Show / Hide Table of Contents
  • Coree.NETASP.Extensions
    • HttpResponseExtensions
  • Coree.NETASP.Extensions.KestrelOptions
    • AuthenticationBuilderExtensions
    • ConfigureWebHostBuilderExtensions
    • ConfigureWebHostBuilderExtensions.ListenType
    • xExtensions
  • Coree.NETASP.Extensions.WebApplicationBuilderExtensions
    • WebAppBuilderExtensions
    • WebApplicationBuilderExtension
  • Coree.NETASP.Middleware
    • FailurePointsMiddleware
    • FailurePointsMiddlewareExtensions
    • FailurePointsMiddlewareOptions
    • RequestThrottlingMiddleware
  • Coree.NETASP.Middleware.AcceptLanguageFiltering
    • AcceptLanguageFilteringExtensions
    • AcceptLanguageFilteringMiddleware
    • AcceptLanguageFilteringOptions
  • Coree.NETASP.Middleware.DnsHostNameFiltering
    • DnsHostNameFilteringMiddleware
    • DnsHostNameFilteringMiddlewareExtensions
    • DnsHostNameFilteringOptions
  • Coree.NETASP.Middleware.HostNameFiltering
    • HostNameFilterOptions
    • HostNameFilteringExtensions
    • HostNameFilteringMiddleware
  • Coree.NETASP.Middleware.NewFolder
    • PreMiddlewareHostedService
    • WaitForPreMiddlewareHostedServiceMiddleware
    • fooExtensions
  • Coree.NETASP.Middleware.PathDeep
    • PathDeepFilteringExtensions
    • PathDeepFilteringMiddleware
    • PathDeepFilteringOptions
  • Coree.NETASP.Middleware.ProtocolFiltering
    • ProtocolFilteringMiddleware
    • ProtocolFilteringMiddlewareExtensions
    • ProtocolFilteringOptions
  • Coree.NETASP.Middleware.RequestLogging
    • RequestLoggingMiddleware
  • Coree.NETASP.Middleware.RequestUrlFiltering
    • RequestUrlFilteringExtensions
    • RequestUrlFilteringMiddleware
    • RequestUrlFilteringOptions
  • Coree.NETASP.Middleware.ResponseRecording
    • ResponseRecordingMiddleware
  • Coree.NETASP.Middleware.SegmentBlacklistFiltering
    • SegmentBlacklistFilterOptions
    • SegmentBlacklistFilteringExtensions
    • SegmentBlacklistFilteringMiddleware
  • Coree.NETASP.Middleware.UnwantedHeaderKeysFiltering
    • UnwantedHeaderKeysMiddleware
    • UnwantedHeaderKeysMiddlewareExtensions
    • UnwantedHeaderKeysOptions
  • Coree.NETASP.Middleware.UserAgentFiltering
    • UserAgentFilterOptions
    • UserAgentFilteringExtensions
    • UserAgentFilteringMiddleware
  • Coree.NETASP.Services.CertificateManager
    • CertificateManager
    • CertificateManagerService
    • CommonDistinguishedNameBuilder
    • DistinguishedName
    • ICertificateManagerService
  • Coree.NETASP.Services.CookieAuth
    • AuthExtensions
    • CookieAuthHandler
    • ICookieAuthHandler
  • Coree.NETASP.Services.Instancer
    • IServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer
    • ServerConfigurationAnalyzer.ServerListenDetail
  • Coree.NETASP.Services.Points
    • Entry
    • IPointService
    • PointEntry
    • PointService
    • PointServiceOptions
  • Coree.NETASP.UnderConstruction
    • CustomWebApplication
    • CustomWebApplication2
    • DummyFileProvider
    • EmptyWebHostBuilder
    • EmptyWebHostBuilder2
    • EmptyWebHostBuilder3
    • EmptyWebHostBuilderx
    • ExampleClass
    • FileServerMiddleware
    • FileServerMiddlewareExtensions
    • MyWebHostBuilder
    • ObjectDumper
    • ObjectDumper2
    • ObjectDumper3
    • OptionsDumper
    • OptionsKestrelServerOptionsExtensions
    • PhpCgiExecutor
    • Product
    • PropertyAccessTracker<T>
    • ServicesDumper
    • TrackableItem<T>
    • TrackableList<T>
    • TrackableState

Class TrackableList<T>

Inheritance
object
TrackableList<T>
Implements
IList<TrackableItem<T>>
ICollection<TrackableItem<T>>
IEnumerable<TrackableItem<T>>
IEnumerable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Coree.NETASP.UnderConstruction
Assembly: Coree.NETASP.dll
Syntax
public class TrackableList<T> : IList<TrackableItem<T>>, ICollection<TrackableItem<T>>, IEnumerable<TrackableItem<T>>, IEnumerable
Type Parameters
Name Description
T

Properties

| Edit this page View Source

Count

Gets the number of elements contained in the ICollection<T>.

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

The number of elements contained in the ICollection<T>.

| Edit this page View Source

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

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

true if the ICollection<T> is read-only; otherwise, false.

| Edit this page View Source

this[int]

Gets or sets the element at the specified index.

Declaration
public TrackableItem<T> this[int index] { get; set; }
Parameters
Type Name Description
int index

The zero-based index of the element to get or set.

Property Value
Type Description
TrackableItem<T>

The element at the specified index.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The property is set and the IList<T> is read-only.

Methods

| Edit this page View Source

Add(TrackableItem<T>)

Adds an item to the ICollection<T>.

Declaration
public void Add(TrackableItem<T> item)
Parameters
Type Name Description
TrackableItem<T> item

The object to add to the ICollection<T>.

Exceptions
Type Condition
NotSupportedException

The ICollection<T> is read-only.

| Edit this page View Source

Add(T)

Declaration
public void Add(T item)
Parameters
Type Name Description
T item
| Edit this page View Source

AddRange(TrackableItem<T>[])

Declaration
public void AddRange(TrackableItem<T>[] items)
Parameters
Type Name Description
TrackableItem<T>[] items
| Edit this page View Source

AddRange(T[])

Declaration
public void AddRange(T[] items)
Parameters
Type Name Description
T[] items
| Edit this page View Source

Clear()

Removes all items from the ICollection<T>.

Declaration
public void Clear()
Exceptions
Type Condition
NotSupportedException

The ICollection<T> is read-only.

| Edit this page View Source

Contains(TrackableItem<T>)

Determines whether the ICollection<T> contains a specific value.

Declaration
public bool Contains(TrackableItem<T> item)
Parameters
Type Name Description
TrackableItem<T> item

The object to locate in the ICollection<T>.

Returns
Type Description
bool

true if item is found in the ICollection<T>; otherwise, false.

| Edit this page View Source

Contains(T)

Declaration
public bool Contains(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool
| Edit this page View Source

CopyTo(TrackableItem<T>[], int)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

Declaration
public void CopyTo(TrackableItem<T>[] array, int arrayIndex)
Parameters
Type Name Description
TrackableItem<T>[] array

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

int arrayIndex

The zero-based index in array at which copying begins.

Exceptions
Type Condition
ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.

| Edit this page View Source

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<TrackableItem<T>> GetEnumerator()
Returns
Type Description
IEnumerator<TrackableItem<T>>

An enumerator that can be used to iterate through the collection.

| Edit this page View Source

GetIncludingRemoved()

Declaration
public List<TrackableItem<T>> GetIncludingRemoved()
Returns
Type Description
List<TrackableItem<T>>
| Edit this page View Source

IndexOf(TrackableItem<T>)

Determines the index of a specific item in the IList<T>.

Declaration
public int IndexOf(TrackableItem<T> item)
Parameters
Type Name Description
TrackableItem<T> item

The object to locate in the IList<T>.

Returns
Type Description
int

The index of item if found in the list; otherwise, -1.

| Edit this page View Source

IndexOf(T)

Declaration
public int IndexOf(T item)
Parameters
Type Name Description
T item
Returns
Type Description
int
| Edit this page View Source

Insert(int, TrackableItem<T>)

Inserts an item to the IList<T> at the specified index.

Declaration
public void Insert(int index, TrackableItem<T> item)
Parameters
Type Name Description
int index

The zero-based index at which item should be inserted.

TrackableItem<T> item

The object to insert into the IList<T>.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.

| Edit this page View Source

Insert(int, T)

Declaration
public void Insert(int index, T item)
Parameters
Type Name Description
int index
T item
| Edit this page View Source

Remove(TrackableItem<T>)

Removes the first occurrence of a specific object from the ICollection<T>.

Declaration
public bool Remove(TrackableItem<T> item)
Parameters
Type Name Description
TrackableItem<T> item

The object to remove from the ICollection<T>.

Returns
Type Description
bool

true if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.

Exceptions
Type Condition
NotSupportedException

The ICollection<T> is read-only.

| Edit this page View Source

Remove(T)

Declaration
public bool Remove(T item)
Parameters
Type Name Description
T item
Returns
Type Description
bool
| Edit this page View Source

RemoveAt(int)

Removes the IList<T> item at the specified index.

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

The zero-based index of the item to remove.

Exceptions
Type Condition
ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.

| Edit this page View Source

ToList()

Declaration
public List<T> ToList()
Returns
Type Description
List<T>

Operators

| Edit this page View Source

implicit operator List<T>(TrackableList<T>)

Declaration
public static implicit operator List<T>(TrackableList<T> trackableList)
Parameters
Type Name Description
TrackableList<T> trackableList
Returns
Type Description
List<T>
| Edit this page View Source

implicit operator TrackableList<T>(List<T>)

Declaration
public static implicit operator TrackableList<T>(List<T> items)
Parameters
Type Name Description
List<T> items
Returns
Type Description
TrackableList<T>

Implements

IList<T>
ICollection<T>
IEnumerable<T>
IEnumerable
  • Edit this page
  • View Source
In this article
Back to top