예제 #1
0
파일: TestHelper.cs 프로젝트: erhan0/aop
        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))
 {
 }
예제 #3
0
 public OrCompoundNode(AspectDefinition aspect, IPointcutValueNode left, IPointcutValueNode right) : base(aspect)
 {
     Left  = left;
     Right = right;
 }
예제 #4
0
파일: CriteriaNode.cs 프로젝트: erhan0/aop
 public CriteriaNode(AspectDefinition aspect, string property, IPointcutValueNode value) : base(aspect)
 {
     Property = property;
     Value    = value;
 }
예제 #5
0
파일: TestHelper.cs 프로젝트: erhan0/aop
 public static LiteralValueNode ShouldBeLiteral(this IPointcutValueNode node, string value)
 {
     node.Should().CastTo <LiteralValueNode>()
     .Value.Should().Be(value);
     return((LiteralValueNode)node);
 }