Esempio n. 1
0
 public static IEnumerable <IElementNavigator> GetThat(Closure context, IEnumerable <Invokee> args)
 {
     return(context.GetThat());
 }
Esempio n. 2
0
 public static IEnumerable <ITypedElement> GetContext(Closure context, IEnumerable <Invokee> arguments)
 {
     return(context.GetOriginalContext());
 }
Esempio n. 3
0
 public static IEnumerable <ITypedElement> GetIndex(this Closure ctx)
 {
     return(ctx.ResolveValue("builtin.index"));
 }
Esempio n. 4
0
 public static IEnumerable <IElementNavigator> GetResource(Closure context, IEnumerable <Invokee> arguments)
 {
     return(context.GetResource());
 }
Esempio n. 5
0
 public static IEnumerable <ITypedElement> GetRootResource(this Closure ctx)
 {
     return(ctx.ResolveValue("rootResource"));
 }
Esempio n. 6
0
 public static void SetIndex(this Closure ctx, IEnumerable <ITypedElement> value)
 {
     ctx.SetValue("builtin.index", value);
 }
Esempio 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);
 }
 public static void SetThis(this Closure ctx, IEnumerable <IElementNavigator> value)
 {
     ctx.SetValue("builtin.this", value);
 }
Esempio n. 9
0
 public static void SetThat(this Closure ctx, IEnumerable <ITypedElement> value)
 {
     ctx.SetValue("builtin.that", value);
 }
Esempio 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);
 }
Esempio n. 11
0
 public static IEnumerable <ITypedElement> GetThat(this Closure ctx)
 {
     return(ctx.ResolveValue("builtin.that"));
 }
 public static void SetResource(this Closure ctx, IEnumerable <IElementNavigator> value)
 {
     ctx.SetValue("resource", value);
 }
 public static IEnumerable <IElementNavigator> GetResource(this Closure ctx)
 {
     return(ctx.ResolveValue("resource"));
 }
Esempio n. 14
0
 public static IEnumerable <ITypedElement> GetResource(Closure context, IEnumerable <Invokee> arguments)
 {
     return(context.GetResource());
 }
Esempio n. 15
0
 public static IEnumerable <ITypedElement> GetOriginalContext(this Closure ctx)
 {
     return(ctx.ResolveValue("context"));
 }
Esempio n. 16
0
 public static IEnumerable <ITypedElement> GetThat(Closure context, IEnumerable <Invokee> args)
 {
     return(context.GetThat());
 }
 public static IEnumerable <IElementNavigator> GetThis(this Closure ctx)
 {
     return(ctx.ResolveValue("builtin.this"));
 }