Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryorah <yoram.harmelin@gmail.com>2013-07-01 13:58:03 +0400
committeryorah <yoram.harmelin@gmail.com>2013-07-01 17:59:33 +0400
commit6fbd65b68d4fcc3c7baea915da6d99b663131d34 (patch)
tree189f2eb9493dd2e41cafea6890f57e0966aa2d1f /LibGit2Sharp/Core/Compat
parent219b0c5764ac247e3bbcf04c2966208c813c36c9 (diff)
Standardize comments style
Diffstat (limited to 'LibGit2Sharp/Core/Compat')
-rw-r--r--LibGit2Sharp/Core/Compat/Lazy.cs10
-rw-r--r--LibGit2Sharp/Core/Compat/Tuple.cs18
2 files changed, 14 insertions, 14 deletions
diff --git a/LibGit2Sharp/Core/Compat/Lazy.cs b/LibGit2Sharp/Core/Compat/Lazy.cs
index 2891920c..2f08a24a 100644
--- a/LibGit2Sharp/Core/Compat/Lazy.cs
+++ b/LibGit2Sharp/Core/Compat/Lazy.cs
@@ -4,9 +4,9 @@ using System.Diagnostics;
namespace LibGit2Sharp.Core.Compat
{
/// <summary>
- /// Provides support for lazy initialization.
+ /// Provides support for lazy initialization.
/// </summary>
- /// <typeparam name = "TType">Specifies the type of object that is being lazily initialized.</typeparam>
+ /// <typeparam name="TType">Specifies the type of object that is being lazily initialized.</typeparam>
[DebuggerStepThrough]
public class Lazy<TType>
{
@@ -16,9 +16,9 @@ namespace LibGit2Sharp.Core.Compat
private readonly object padLock = new object();
/// <summary>
- /// Initializes a new instance of the <see cref = "Lazy{TType}" /> class.
+ /// Initializes a new instance of the <see cref="Lazy{TType}"/> class.
/// </summary>
- /// <param name = "evaluator"></param>
+ /// <param name="evaluator">The <see cref="Func{TResult}"/> that will be called to evaluate the value of this Lazy instance.</param>
public Lazy(Func<TType> evaluator)
{
Ensure.ArgumentNotNull(evaluator, "evaluator");
@@ -27,7 +27,7 @@ namespace LibGit2Sharp.Core.Compat
}
/// <summary>
- /// Gets the lazily initialized value of the current instance.
+ /// Gets the lazily initialized value of the current instance.
/// </summary>
public TType Value
{
diff --git a/LibGit2Sharp/Core/Compat/Tuple.cs b/LibGit2Sharp/Core/Compat/Tuple.cs
index cc863032..b8cf7f00 100644
--- a/LibGit2Sharp/Core/Compat/Tuple.cs
+++ b/LibGit2Sharp/Core/Compat/Tuple.cs
@@ -3,16 +3,16 @@ using System.Collections.Generic;
namespace LibGit2Sharp.Core.Compat
{
/// <summary>
- /// Represents a 2-tuple, or pair.
+ /// Represents a 2-tuple, or pair.
/// </summary>
- /// <typeparam name = "T1">The type of the tuple's first component.</typeparam>
- /// <typeparam name = "T2">The type of the tuple's second component.</typeparam>
+ /// <typeparam name="T1">The type of the tuple's first component.</typeparam>
+ /// <typeparam name="T2">The type of the tuple's second component.</typeparam>
public class Tuple<T1, T2>
{
private readonly KeyValuePair<T1, T2> kvp;
/// <summary>
- /// Initializes a new instance of the <see cref="Tuple{T1,T2}"/> class.
+ /// Initializes a new instance of the <see cref="Tuple{T1,T2}"/> class.
/// </summary>
/// <param name="item1">The value of the tuple's first component.</param>
/// <param name="item2">The value of the tuple's second component.</param>
@@ -22,7 +22,7 @@ namespace LibGit2Sharp.Core.Compat
}
/// <summary>
- /// Gets the value of the current <see cref = "Tuple{T1,T2}" /> object's second component.
+ /// Gets the value of the current <see cref="Tuple{T1,T2}"/> object's second component.
/// </summary>
public T2 Item2
{
@@ -30,7 +30,7 @@ namespace LibGit2Sharp.Core.Compat
}
/// <summary>
- /// Gets the value of the current <see cref = "Tuple{T1,T2}" /> object's first component.
+ /// Gets the value of the current <see cref="Tuple{T1,T2}"/> object's first component.
/// </summary>
public T1 Item1
{
@@ -38,7 +38,7 @@ namespace LibGit2Sharp.Core.Compat
}
/// <summary>
- /// Returns the hash code for the current <see cref = "Tuple{T1,T2}" /> object.
+ /// Returns the hash code for the current <see cref="Tuple{T1,T2}"/> object.
/// </summary>
/// <returns>A 32-bit signed integer hash code.</returns>
public override int GetHashCode()
@@ -47,9 +47,9 @@ namespace LibGit2Sharp.Core.Compat
}
/// <summary>
- /// Returns a value that indicates whether the current <see cref = "Tuple{T1,T2}" /> object is equal to a specified object.
+ /// Returns a value that indicates whether the current <see cref="Tuple{T1,T2}"/> object is equal to a specified object.
/// </summary>
- /// <param name = "obj">The object to compare with this instance.</param>
+ /// <param name="obj">The object to compare with this instance.</param>
/// <returns>true if the current instance is equal to the specified object; otherwise, false.</returns>
public override bool Equals(object obj)
{