Skip to content

Commit 3ea1bc6

Browse files
author
Dmitry Panyushkin
authored
Merge pull request #5 from nazimkov/master
Fix typos and docs links
2 parents 5c09c5f + d158ade commit 3ea1bc6

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

EFCore.CommonTools/Specification/Specification.cs

+10-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace System.Linq.CommonTools
1212
#endif
1313
{
1414
/// <summary>
15-
/// Specification pattren https://en.wikipedia.org/wiki/Specification_pattern.
15+
/// Specification pattern https://en.wikipedia.org/wiki/Specification_pattern.
1616
/// </summary>
1717
/// <typeparam name="T"></typeparam>
1818
public interface ISpecification<T>
@@ -23,7 +23,7 @@ public interface ISpecification<T>
2323
}
2424

2525
/// <summary>
26-
/// Implementation of Specification pattren, that can be used with <see cref="IQueryable{T}"/> expressions.
26+
/// Implementation of Specification pattern, that can be used with <see cref="IQueryable{T}"/> expressions.
2727
/// </summary>
2828
[DebuggerDisplay("{Predicate}")]
2929
public class Specification<T> : ISpecification<T>
@@ -64,20 +64,25 @@ public static implicit operator Expression<Func<T, bool>>(Specification<T> spec)
6464

6565
return spec.Predicate;
6666
}
67-
67+
68+
/// <summary>
6869
/// <remarks>
6970
/// For user-defined conditional logical operators.
70-
/// https://msdn.microsoft.com/en-us/library/aa691312(v=vs.71).aspx
71+
/// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/true-false-operators
7172
/// </remarks>
73+
/// </summary>
7274
public static bool operator true(Specification<T> spec)
7375
{
7476
return false;
7577
}
7678

79+
80+
/// <summary>
7781
/// <remarks>
7882
/// For user-defined conditional logical operators.
79-
/// https://msdn.microsoft.com/en-us/library/aa691312(v=vs.71).aspx
83+
/// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/true-false-operators
8084
/// </remarks>
85+
/// </summary>
8186
public static bool operator false(Specification<T> spec)
8287
{
8388
return false;

0 commit comments

Comments
 (0)