Exemplo n.º 1
0
 public static IEnumerable <IElementNavigator> GetThat(Closure context, IEnumerable <Invokee> args)
 {
     return(context.GetThat());
 }
Exemplo n.º 2
0
 public static IEnumerable <ITypedElement> GetContext(Closure context, IEnumerable <Invokee> arguments)
 {
     return(context.GetOriginalContext());
 }
Exemplo n.º 3
0
 public static IEnumerable <ITypedElement> GetIndex(this Closure ctx)
 {
     return(ctx.ResolveValue("builtin.index"));
 }
Exemplo n.º 4
0
 public static IEnumerable <IElementNavigator> GetResource(Closure context, IEnumerable <Invokee> arguments)
 {
     return(context.GetResource());
 }
Exemplo n.º 5
0
 public static IEnumerable <ITypedElement> GetRootResource(this Closure ctx)
 {
     return(ctx.ResolveValue("rootResource"));
 }
Exemplo n.º 6
0
 public static void SetIndex(this Closure ctx, IEnumerable <ITypedElement> value)
 {
     ctx.SetValue("builtin.index", value);
 }
Exemplo n.º 7
0
 /// <summary>
 /// When a DomainResource contains another resource, and that contained resource is the focus (%resource)
 /// then %rootResource refers to the container resource.
 /// </summary>
 public static void SetRootResource(this Closure ctx, IEnumerable <ITypedElement> value)
 {
     ctx.SetValue("rootResource", value);
 }
Exemplo n.º 8
0
 public static void SetThis(this Closure ctx, IEnumerable <IElementNavigator> value)
 {
     ctx.SetValue("builtin.this", value);
 }
Exemplo n.º 9
0
 public static void SetThat(this Closure ctx, IEnumerable <ITypedElement> value)
 {
     ctx.SetValue("builtin.that", value);
 }
Exemplo n.º 10
0
 /// <summary>
 /// The original node that was passed to the evaluation engine before starting evaluation.
 /// </summary>
 public static void SetOriginalContext(this Closure ctx, IEnumerable <ITypedElement> value)
 {
     ctx.SetValue("context", value);
 }
Exemplo n.º 11
0
 public static IEnumerable <ITypedElement> GetThat(this Closure ctx)
 {
     return(ctx.ResolveValue("builtin.that"));
 }
Exemplo n.º 12
0
 public static void SetResource(this Closure ctx, IEnumerable <IElementNavigator> value)
 {
     ctx.SetValue("resource", value);
 }
Exemplo n.º 13
0
 public static IEnumerable <IElementNavigator> GetResource(this Closure ctx)
 {
     return(ctx.ResolveValue("resource"));
 }
Exemplo n.º 14
0
 public static IEnumerable <ITypedElement> GetResource(Closure context, IEnumerable <Invokee> arguments)
 {
     return(context.GetResource());
 }
Exemplo n.º 15
0
 public static IEnumerable <ITypedElement> GetOriginalContext(this Closure ctx)
 {
     return(ctx.ResolveValue("context"));
 }
Exemplo n.º 16
0
 public static IEnumerable <ITypedElement> GetThat(Closure context, IEnumerable <Invokee> args)
 {
     return(context.GetThat());
 }
Exemplo n.º 17
0
 public static IEnumerable <IElementNavigator> GetThis(this Closure ctx)
 {
     return(ctx.ResolveValue("builtin.this"));
 }