public void Evaluate(ICandidate candidate) { // use starting _ for PascalCase conversion purposes var _predicate = (Predicate <T>)GetContent(); candidate.Include(_predicate((T)candidate.GetObject())); }
public void Evaluate(ICandidate candidate) { var sti = (STIntegerWUTestCase )candidate.GetObject(); candidate.Include((((int)sti.i_int) + 2) > 100); }
public void Evaluate(ICandidate candidate) { var sts = (STShortWUTestCase )candidate.GetObject(); candidate.Include((((short)sts.i_short) + 2) > 100); }
public void Evaluate(ICandidate candidate) { var sts = (STCharWUTestCase )candidate.GetObject(); candidate.Include((((char)sts.i_char) + 2) > 100); }
public void Evaluate(ICandidate candidate) { var sts = (STByteWUTestCase )candidate.GetObject(); candidate.Include((((byte)sts.i_byte) + 2) > 100); }
public virtual void Evaluate(ICandidate candidate) { var pe = (ParameterizedEvaluationTestCase) candidate.GetObject (); var inc = pe.str.IndexOf(str) != -1; candidate.Include(inc); }
public void Evaluate(ICandidate candidate) { var sts = (STStringTestCase )candidate.GetObject(); candidate.Include(sts.str.ToLower().IndexOf("od") >= 0); }
public virtual void Evaluate(ICandidate candidate) { ParameterizedEvaluationTestCase pe = (ParameterizedEvaluationTestCase)candidate.GetObject (); bool inc = pe.str.IndexOf(str) != -1; candidate.Include(inc); }
public void Evaluate(ICandidate candidate) { if (candidate.GetObject() is string) { var value = (string)candidate.GetObject(); if (value.Equals("abc")) { candidate.Include(true); } } }
public void Evaluate(ICandidate candidate) { var item = (Item) candidate.GetObject(); candidate.Include(item._plainObject == plainObject); }
public virtual void Evaluate(ICandidate candidate) { CaseInsensitiveTestCase ci = (CaseInsensitiveTestCase)candidate.GetObject(); candidate.Include(ci.name.ToLower().Equals(name.ToLower())); }
public void Evaluate(ICandidate candidate) { candidate.Include(candidate.GetObject().ToString().ToLower().StartsWith("hell")); }
public void Evaluate(ICandidate candidate) { string stringValue = (string)candidate.GetObject(); candidate.Include(pattern.IsMatch(stringValue)); }
public void Evaluate(ICandidate candidate) { PlainObjectTestCase.Item item = (PlainObjectTestCase.Item)candidate.GetObject(); candidate.Include(item._plainObject == plainObject); }
public void Evaluate(ICandidate candidate) { ISTInterface sti = (ISTInterface)candidate.GetObject(); candidate.Include(sti.ReturnSomething().Equals("aaa")); }
public void Evaluate(ICandidate candidate) { var item = (Item)candidate.GetObject(); candidate.Include(item._plainObject == plainObject); }
public static void Evaluate(ICandidate candidate) { var obj = ((CsEvaluationDelegate) candidate.GetObject()); candidate.Include(obj.name.Equals("three")); }
public void Evaluate(ICandidate candidate) { Db4objects.Db4o.Tests.Common.Soda.Wrapper.Untyped.STIntegerWUTestCase sti = (Db4objects.Db4o.Tests.Common.Soda.Wrapper.Untyped.STIntegerWUTestCase )candidate.GetObject(); candidate.Include((((int)sti.i_int) + 2) > 100); }
public void Evaluate(ICandidate candidate) { CsEvaluationDelegate obj = ((CsEvaluationDelegate)candidate.GetObject()); candidate.Include(obj.name.Equals(_name)); }
public void Evaluate(ICandidate candidate) { Db4objects.Db4o.Tests.Common.Soda.Classes.Simple.STStringTestCase sts = (Db4objects.Db4o.Tests.Common.Soda.Classes.Simple.STStringTestCase )candidate.GetObject(); candidate.Include(sts.str.ToLower().IndexOf("od") >= 0); }
public virtual void Evaluate(ICandidate candidate) { candidate.Include(true); }
public static void Evaluate(ICandidate candidate) { var obj = ((CsEvaluationDelegate)candidate.GetObject()); candidate.Include(obj.name.Equals("three")); }
public void Evaluate(ICandidate candidate) { Car car = (Car)candidate.GetObject(); candidate.Include(car.History.Count % 2 == 0); }
public void Evaluate(ICandidate candidate) { var sts = (STStringTestCase ) candidate.GetObject(); candidate.Include(sts.str.ToLower().IndexOf("od") >= 0); }
public void Evaluate(ICandidate candidate) { Pilot pilot = (Pilot)candidate.GetObject(); candidate.Include(pilot.Age % 2 != 0); }
public virtual void Evaluate(ICandidate candidate) { var ci = (CaseInsensitiveTestCase) candidate.GetObject(); candidate.Include(ci.name.ToLower().Equals(name.ToLower())); }
public void Evaluate(ICandidate candidate) { Db4objects.Db4o.Tests.Common.Soda.Wrapper.Untyped.STByteWUTestCase sts = (Db4objects.Db4o.Tests.Common.Soda.Wrapper.Untyped.STByteWUTestCase )candidate.GetObject(); candidate.Include((((byte)sts.i_byte) + 2) > 100); }
public void Evaluate(ICandidate candidate) { var sts = (STShortWUTestCase ) candidate.GetObject(); candidate.Include((((short) sts.i_short) + 2) > 100); }
public virtual void Evaluate(ICandidate candidate) { candidate.Include(_predicate.AppliesTo(candidate.GetObject())); }
public void Evaluate(ICandidate candidate) { var sts = (STByteWUTestCase ) candidate.GetObject(); candidate.Include((((byte) sts.i_byte) + 2) > 100); }
public void Evaluate(ICandidate candidate) { Car car=(Car)candidate.GetObject(); candidate.Include(car.History.Count % 2 == 0); }
public void Evaluate(ICandidate candidate) { Person realCandidate = (Person)candidate.GetObject(); candidate.Include(realCandidate.Name == _name); }
public void Evaluate(ICandidate candidate) { var sti = (STIntegerWUTestCase ) candidate.GetObject(); candidate.Include((((int) sti.i_int) + 2) > 100); }
public void Evaluate(ICandidate candidate) { Db4objects.Db4o.Tests.Common.Soda.Wrapper.Untyped.STShortWUTestCase sts = (Db4objects.Db4o.Tests.Common.Soda.Wrapper.Untyped.STShortWUTestCase )candidate.GetObject(); candidate.Include((((short)sts.i_short) + 2) > 100); }
public void Evaluate(ICandidate candidate) { var sts = (STCharWUTestCase ) candidate.GetObject(); candidate.Include((((char) sts.i_char) + 2) > 100); }