Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -16,7 +16,7 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Strongly typed collection of Server.Engines.Reports.ChartItem.
|
||||
/// </summary>
|
||||
public class ChartItemCollection : System.Collections.CollectionBase
|
||||
public class ChartItemCollection : CollectionBase
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -30,10 +30,10 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Gets or sets the value of the Server.Engines.Reports.ChartItem at a specific position in the ChartItemCollection.
|
||||
/// </summary>
|
||||
public Server.Engines.Reports.ChartItem this[int index]
|
||||
public ChartItem this[int index]
|
||||
{
|
||||
get => ((Server.Engines.Reports.ChartItem)(this.List[index]));
|
||||
set => this.List[index] = value;
|
||||
get => ((ChartItem)(List[index]));
|
||||
set => List[index] = value;
|
||||
}
|
||||
|
||||
public int Add( string name, int value )
|
||||
|
|
@ -46,9 +46,9 @@ namespace Server.Engines.Reports
|
|||
/// </summary>
|
||||
/// <param name="value">Server.Engines.Reports.ChartItem instance.</param>
|
||||
/// <returns>The position into which the new element was inserted.</returns>
|
||||
public int Add(Server.Engines.Reports.ChartItem value)
|
||||
public int Add(ChartItem value)
|
||||
{
|
||||
return this.List.Add(value);
|
||||
return List.Add(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -56,9 +56,9 @@ namespace Server.Engines.Reports
|
|||
/// </summary>
|
||||
/// <param name="value">Server.Engines.Reports.ChartItem instance to search for.</param>
|
||||
/// <returns>True if the Server.Engines.Reports.ChartItem instance is in the collection; otherwise false.</returns>
|
||||
public bool Contains(Server.Engines.Reports.ChartItem value)
|
||||
public bool Contains(ChartItem value)
|
||||
{
|
||||
return this.List.Contains(value);
|
||||
return List.Contains(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -66,18 +66,18 @@ namespace Server.Engines.Reports
|
|||
/// </summary>
|
||||
/// <param name="value">Server.Engines.Reports.ChartItem instance to find.</param>
|
||||
/// <returns>The zero-based index of the specified Server.Engines.Reports.ChartItem instance. If the object is not found, the return value is -1.</returns>
|
||||
public int IndexOf(Server.Engines.Reports.ChartItem value)
|
||||
public int IndexOf(ChartItem value)
|
||||
{
|
||||
return this.List.IndexOf(value);
|
||||
return List.IndexOf(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes a specified Server.Engines.Reports.ChartItem instance from this collection.
|
||||
/// </summary>
|
||||
/// <param name="value">The Server.Engines.Reports.ChartItem instance to remove.</param>
|
||||
public void Remove(Server.Engines.Reports.ChartItem value)
|
||||
public void Remove(ChartItem value)
|
||||
{
|
||||
this.List.Remove(value);
|
||||
List.Remove(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -94,15 +94,15 @@ namespace Server.Engines.Reports
|
|||
/// </summary>
|
||||
/// <param name="index">Zero-based index.</param>
|
||||
/// <param name="value">The Server.Engines.Reports.ChartItem instance to insert.</param>
|
||||
public void Insert(int index, Server.Engines.Reports.ChartItem value)
|
||||
public void Insert(int index, ChartItem value)
|
||||
{
|
||||
this.List.Insert(index, value);
|
||||
List.Insert(index, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Strongly typed enumerator of Server.Engines.Reports.ChartItem.
|
||||
/// </summary>
|
||||
public class ChartItemCollectionEnumerator : System.Collections.IEnumerator
|
||||
public class ChartItemCollectionEnumerator : IEnumerator
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -113,7 +113,7 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Current element pointed to.
|
||||
/// </summary>
|
||||
private Server.Engines.Reports.ChartItem _currentElement;
|
||||
private ChartItem _currentElement;
|
||||
|
||||
/// <summary>
|
||||
/// Collection to enumerate.
|
||||
|
|
@ -133,7 +133,7 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Gets the Server.Engines.Reports.ChartItem object in the enumerated ChartItemCollection currently indexed by this instance.
|
||||
/// </summary>
|
||||
public Server.Engines.Reports.ChartItem Current
|
||||
public ChartItem Current
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
@ -187,7 +187,7 @@ namespace Server.Engines.Reports
|
|||
< (_collection.Count - 1)))
|
||||
{
|
||||
_index = (_index + 1);
|
||||
_currentElement = this._collection[_index];
|
||||
_currentElement = _collection[_index];
|
||||
return true;
|
||||
}
|
||||
_index = _collection.Count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue