Exemplo n.º 1
0
        public static ConjunctionAssertion operator |(ConjunctionAssertion self, ConjunctionAssertion other)
        {
            var assertion = new ConjunctionAssertion(self);

            assertion.AddSpec(other, CombineType.Or);
            return(assertion);
        }
		public static ConjunctionAssertion operator |(ConjunctionAssertion self, ConjunctionAssertion other)
		{
			var assertion = new ConjunctionAssertion(self);
			assertion.AddSpec(other, CombineType.Or);
			return assertion;
		}
Exemplo n.º 3
0
 private void AddSpec(ConjunctionAssertion other, CombineType and)
 {
     AddSpec(other);
     combineTypes.Add(and);
 }
		private void AddSpec(ConjunctionAssertion other, CombineType and)
		{
			AddSpec(other);
			combineTypes.Add(and);
		}