Example #1
0
        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))
 {
 }
Example #3
0
 public OrCompoundNode(AspectDefinition aspect, IPointcutValueNode left, IPointcutValueNode right) : base(aspect)
 {
     Left  = left;
     Right = right;
 }
Example #4
0
 public CriteriaNode(AspectDefinition aspect, string property, IPointcutValueNode value) : base(aspect)
 {
     Property = property;
     Value    = value;
 }
Example #5
0
 public static LiteralValueNode ShouldBeLiteral(this IPointcutValueNode node, string value)
 {
     node.Should().CastTo <LiteralValueNode>()
     .Value.Should().Be(value);
     return((LiteralValueNode)node);
 }