Beispiel #1
0
 public IEnumerable <object> GetValues()
 {
     return(target.GetObjects().Convert(delegate(object obj) {
         try
         {
             return variable.GetContents(obj);
         }
         catch (Exception ex)
         {
             return ex;
         }
     }));
 }
Beispiel #2
0
 public void Execute()
 {
     target.Touch(GetName(), delegate() {
         target.GetObjects().Process(o => action.Execute(o));
     }, true);
 }
Beispiel #3
0
 public void Execute()
 {
     target.Touch(GetName(), delegate() {
         target.GetObjects().Process(o => function.Execute(o, arguments.GetContents <object[]>()));
     }, true);
 }
Beispiel #4
0
 public IEnumerable <EditGadgetInstance> GetInstances()
 {
     return(target.GetObjects().Convert(o => new EditGadgetInstance(this, o)));
 }
Beispiel #5
0
 protected IEnumerable <object> GetObjects()
 {
     return(target.GetObjects());
 }
Beispiel #6
0
 static public bool TryGetObject(this EditTarget item, out object obj)
 {
     return(item.GetObjects().TryGetOnly(out obj));
 }