C# Class NLogViewer.Configuration.LoggerConfigCollection

Inheritance: System.Collections.CollectionBase
Afficher le fichier Open project: jkowalski/NLogViewer Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

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. ///
Résultat void

AddRange() public méthode

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. ///
Résultat void

AddRange() public méthode

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. ///
Résultat void

Contains() public méthode

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. ///
Résultat bool

GetEnumerator() public méthode

Returns an enumerator that can iterate through the elements of this LoggerConfigCollection.
public GetEnumerator ( ) : LoggerConfigCollection.Enumerator
Résultat LoggerConfigCollection.Enumerator

IndexOf() public méthode

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. ///
Résultat int

Insert() public méthode

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. ///
Résultat void

LoggerConfigCollection() public méthode

Initializes a new empty instance of the LoggerConfigCollection class.
public LoggerConfigCollection ( ) : System
Résultat System

LoggerConfigCollection() public méthode

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. ///
Résultat System

LoggerConfigCollection() public méthode

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. ///
Résultat System

Remove() public méthode

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. ///
Résultat void

this() public méthode

Gets or sets the LoggerConfig at the given index in this LoggerConfigCollection.
public this ( int index ) : LoggerConfig
index int
Résultat LoggerConfig