Exemplo n.º 1
0
 /// <summary>
 /// Adds an element with the specified key and value to this StringToLoggerConfigMap.
 /// </summary>
 /// <param name="key">
 /// The String key of the element to add.
 /// </param>
 /// <param name="value">
 /// The LoggerConfig value of the element to add.
 /// </param>
 public virtual void Add(String key, LoggerConfig value)
 {
     this.Dictionary.Add(key, value);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Determines whether a specfic LoggerConfig value is in this LoggerConfigCollection.
 /// </summary>
 /// <param name="value">
 /// The LoggerConfig value to locate in this LoggerConfigCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this LoggerConfigCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(LoggerConfig value)
 {
     return(this.List.Contains(value));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Adds an instance of type LoggerConfig to the end of this LoggerConfigCollection.
 /// </summary>
 /// <param name="value">
 /// The LoggerConfig to be added to the end of this LoggerConfigCollection.
 /// </param>
 public virtual void Add(LoggerConfig value)
 {
     this.List.Add(value);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Removes the first occurrence of a specific LoggerConfig from this LoggerConfigCollection.
 /// </summary>
 /// <param name="value">
 /// The LoggerConfig value to remove from this LoggerConfigCollection.
 /// </param>
 public virtual void Remove(LoggerConfig value)
 {
     this.List.Remove(value);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Inserts an element into the LoggerConfigCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the LoggerConfig is to be inserted.
 /// </param>
 /// <param name="value">
 /// The LoggerConfig to insert.
 /// </param>
 public virtual void Insert(int index, LoggerConfig value)
 {
     this.List.Insert(index, value);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this LoggerConfigCollection
 /// </summary>
 /// <param name="value">
 /// The LoggerConfig value to locate in the LoggerConfigCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(LoggerConfig value)
 {
     return(this.List.IndexOf(value));
 }