C# Класс NLogViewer.Configuration.LoggerConfigCollection

Наследование: System.Collections.CollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Add ( LoggerConfig value ) : void

Adds an instance of type LoggerConfig to the end of this LoggerConfigCollection.

AddRange ( LoggerConfig items ) : void

Adds the elements of an array to the end of this LoggerConfigCollection.

AddRange ( LoggerConfigCollection items ) : void

Adds the elements of another LoggerConfigCollection to the end of this LoggerConfigCollection.

Contains ( LoggerConfig value ) : bool

Determines whether a specfic LoggerConfig value is in this LoggerConfigCollection.

GetEnumerator ( ) : LoggerConfigCollection.Enumerator

Returns an enumerator that can iterate through the elements of this LoggerConfigCollection.

IndexOf ( LoggerConfig value ) : int

Return the zero-based index of the first occurrence of a specific value in this LoggerConfigCollection

Insert ( int index, LoggerConfig value ) : void

Inserts an element into the LoggerConfigCollection at the specified index

LoggerConfigCollection ( ) : System

Initializes a new empty instance of the LoggerConfigCollection class.

LoggerConfigCollection ( LoggerConfig items ) : System

Initializes a new instance of the LoggerConfigCollection class, containing elements copied from an array.

LoggerConfigCollection ( LoggerConfigCollection items ) : System

Initializes a new instance of the LoggerConfigCollection class, containing elements copied from another instance of LoggerConfigCollection

Remove ( LoggerConfig value ) : void

Removes the first occurrence of a specific LoggerConfig from this LoggerConfigCollection.

this ( int index ) : LoggerConfig

Gets or sets the LoggerConfig at the given index in this LoggerConfigCollection.

Описание методов

Add() публичный Метод

Adds an instance of type LoggerConfig to the end of this LoggerConfigCollection.
public Add ( LoggerConfig value ) : void
value LoggerConfig /// The LoggerConfig to be added to the end of this LoggerConfigCollection. ///
Результат void

AddRange() публичный Метод

Adds the elements of an array to the end of this LoggerConfigCollection.
public AddRange ( LoggerConfig items ) : void
items LoggerConfig /// The array whose elements are to be added to the end of this LoggerConfigCollection. ///
Результат void

AddRange() публичный Метод

Adds the elements of another LoggerConfigCollection to the end of this LoggerConfigCollection.
public AddRange ( LoggerConfigCollection items ) : void
items LoggerConfigCollection /// The LoggerConfigCollection whose elements are to be added to the end of this LoggerConfigCollection. ///
Результат void

Contains() публичный Метод

Determines whether a specfic LoggerConfig value is in this LoggerConfigCollection.
public Contains ( LoggerConfig value ) : bool
value LoggerConfig /// The LoggerConfig value to locate in this LoggerConfigCollection. ///
Результат bool

GetEnumerator() публичный Метод

Returns an enumerator that can iterate through the elements of this LoggerConfigCollection.
public GetEnumerator ( ) : LoggerConfigCollection.Enumerator
Результат LoggerConfigCollection.Enumerator

IndexOf() публичный Метод

Return the zero-based index of the first occurrence of a specific value in this LoggerConfigCollection
public IndexOf ( LoggerConfig value ) : int
value LoggerConfig /// The LoggerConfig value to locate in the LoggerConfigCollection. ///
Результат int

Insert() публичный Метод

Inserts an element into the LoggerConfigCollection at the specified index
public Insert ( int index, LoggerConfig value ) : void
index int /// The index at which the LoggerConfig is to be inserted. ///
value LoggerConfig /// The LoggerConfig to insert. ///
Результат void

LoggerConfigCollection() публичный Метод

Initializes a new empty instance of the LoggerConfigCollection class.
public LoggerConfigCollection ( ) : System
Результат System

LoggerConfigCollection() публичный Метод

Initializes a new instance of the LoggerConfigCollection class, containing elements copied from an array.
public LoggerConfigCollection ( LoggerConfig items ) : System
items LoggerConfig /// The array whose elements are to be added to the new LoggerConfigCollection. ///
Результат System

LoggerConfigCollection() публичный Метод

Initializes a new instance of the LoggerConfigCollection class, containing elements copied from another instance of LoggerConfigCollection
public LoggerConfigCollection ( LoggerConfigCollection items ) : System
items LoggerConfigCollection /// The LoggerConfigCollection whose elements are to be added to the new LoggerConfigCollection. ///
Результат System

Remove() публичный Метод

Removes the first occurrence of a specific LoggerConfig from this LoggerConfigCollection.
public Remove ( LoggerConfig value ) : void
value LoggerConfig /// The LoggerConfig value to remove from this LoggerConfigCollection. ///
Результат void

this() публичный Метод

Gets or sets the LoggerConfig at the given index in this LoggerConfigCollection.
public this ( int index ) : LoggerConfig
index int
Результат LoggerConfig