示例#1
0
 /// <summary>
 /// The argument matches the given custom <c>Matcher</c>.
 /// </summary>
 /// <param name="matcher">A custom <c>Matcher</c></param>
 public static T Matches <T>(Core.Matcher matcher)
 {
     return(default(T));
 }
示例#2
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(AnyOfMatcher <T>));
 }
示例#3
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(RegexMatcher) && regex.Equals(((RegexMatcher)other).regex));
 }
示例#4
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(ArgThatMatcher <T>) && this.predicate == ((ArgThatMatcher <T>)other).predicate);
 }
示例#5
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(NullMatcher));
 }
示例#6
0
 public NotMatcher(Core.Matcher matcher)
 {
     this.matcher = matcher;
 }
示例#7
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(NotMatcher) && this.matcher.Equals(((NotMatcher)other).matcher));
 }
示例#8
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(IsMatcher) && this.obj.Equals(((IsMatcher)other).obj));
 }
示例#9
0
 public bool Equals(Core.Matcher other)
 {
     return(other.GetType() == typeof(ContainsMatcher <T>) && this.obj.Equals(((ContainsMatcher <T>)other).obj));
 }