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.ResponseInfo.
|
||||
/// </summary>
|
||||
public class ResponseInfoCollection : System.Collections.CollectionBase
|
||||
public class ResponseInfoCollection : CollectionBase
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -30,10 +30,10 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Gets or sets the value of the Server.Engines.Reports.ResponseInfo at a specific position in the ResponseInfoCollection.
|
||||
/// </summary>
|
||||
public Server.Engines.Reports.ResponseInfo this[int index]
|
||||
public ResponseInfo this[int index]
|
||||
{
|
||||
get => ((Server.Engines.Reports.ResponseInfo)(this.List[index]));
|
||||
set => this.List[index] = value;
|
||||
get => ((ResponseInfo)(List[index]));
|
||||
set => List[index] = value;
|
||||
}
|
||||
|
||||
public int Add( string sentBy, string message )
|
||||
|
|
@ -46,9 +46,9 @@ namespace Server.Engines.Reports
|
|||
/// </summary>
|
||||
/// <param name="value">Server.Engines.Reports.ResponseInfo instance.</param>
|
||||
/// <returns>The position into which the new element was inserted.</returns>
|
||||
public int Add(Server.Engines.Reports.ResponseInfo value)
|
||||
public int Add(ResponseInfo 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.ResponseInfo instance to search for.</param>
|
||||
/// <returns>True if the Server.Engines.Reports.ResponseInfo instance is in the collection; otherwise false.</returns>
|
||||
public bool Contains(Server.Engines.Reports.ResponseInfo value)
|
||||
public bool Contains(ResponseInfo 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.ResponseInfo instance to find.</param>
|
||||
/// <returns>The zero-based index of the specified Server.Engines.Reports.ResponseInfo instance. If the object is not found, the return value is -1.</returns>
|
||||
public int IndexOf(Server.Engines.Reports.ResponseInfo value)
|
||||
public int IndexOf(ResponseInfo value)
|
||||
{
|
||||
return this.List.IndexOf(value);
|
||||
return List.IndexOf(value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes a specified Server.Engines.Reports.ResponseInfo instance from this collection.
|
||||
/// </summary>
|
||||
/// <param name="value">The Server.Engines.Reports.ResponseInfo instance to remove.</param>
|
||||
public void Remove(Server.Engines.Reports.ResponseInfo value)
|
||||
public void Remove(ResponseInfo 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.ResponseInfo instance to insert.</param>
|
||||
public void Insert(int index, Server.Engines.Reports.ResponseInfo value)
|
||||
public void Insert(int index, ResponseInfo value)
|
||||
{
|
||||
this.List.Insert(index, value);
|
||||
List.Insert(index, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Strongly typed enumerator of Server.Engines.Reports.ResponseInfo.
|
||||
/// </summary>
|
||||
public class ResponseInfoCollectionEnumerator : System.Collections.IEnumerator
|
||||
public class ResponseInfoCollectionEnumerator : IEnumerator
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -113,7 +113,7 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Current element pointed to.
|
||||
/// </summary>
|
||||
private Server.Engines.Reports.ResponseInfo _currentElement;
|
||||
private ResponseInfo _currentElement;
|
||||
|
||||
/// <summary>
|
||||
/// Collection to enumerate.
|
||||
|
|
@ -133,7 +133,7 @@ namespace Server.Engines.Reports
|
|||
/// <summary>
|
||||
/// Gets the Server.Engines.Reports.ResponseInfo object in the enumerated ResponseInfoCollection currently indexed by this instance.
|
||||
/// </summary>
|
||||
public Server.Engines.Reports.ResponseInfo Current
|
||||
public ResponseInfo 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