public override bool SafeCondition(QueryContext <IProcessor> args)
 {
     return(base.SafeCondition(args) &&
            args.GetResult() == null &&
            args.ContainsProperty(GetProcessorProperties.XElement) &&
            args.ContainsProperty(GetProcessorProperties.ProcessorTypeAttribute) &&
            !args.HasProperty(GetProcessorProperties.ProcessorTypeString));
 }
Exemplo n.º 2
0
 public override bool SafeCondition(QueryContext <IProcessor> args)
 {
     return(base.SafeCondition(args) &&
            args.DoesNotContainResult() &&
            args.ContainsProperty(GetProcessorProperties.Children) &&
            args.DoesNotContainProperty(GetProcessorProperties.ChildrenValues));
 }
 public override bool SafeCondition(QueryContext <IProcessor> args)
 {
     return(base.SafeCondition(args) &&
            args.HasProperty(GetProcessorProperties.Constructor) &&
            !args.ContainsProperty(GetProcessorProperties.Instance) &&
            args.DoesNotContainResult());
 }