public static CriteriaNode ShouldBeCriteria(this IPointcutValueNode node, string property) { var criteria = node.Should().CastTo <CriteriaNode>(); criteria.Property.Should().Be(property); return(criteria); }
public UnsupportedSaqlConstructException(IPointcutValueNode node, object pointcut) : base(string.Format("Cannot apply {0} SAQL query to {1}", node, pointcut)) { }
public OrCompoundNode(AspectDefinition aspect, IPointcutValueNode left, IPointcutValueNode right) : base(aspect) { Left = left; Right = right; }
public CriteriaNode(AspectDefinition aspect, string property, IPointcutValueNode value) : base(aspect) { Property = property; Value = value; }
public static LiteralValueNode ShouldBeLiteral(this IPointcutValueNode node, string value) { node.Should().CastTo <LiteralValueNode>() .Value.Should().Be(value); return((LiteralValueNode)node); }