Example #1
0
 public Binder()
 {
     _fetch = new FetchCommand(this);
     _destroy = new DestroyCommand(this);
     _display = new DisplayCommand(this);
     Data = new ExpandoObject();
     Context = new ExpandoObject();
 }
Example #2
0
        public FormBinder(string uri)
        {
            _create = new CreateCommand(this);
            _update = new UpdateCommand(this);

            if (System.ComponentModel.DesignerProperties.GetIsInDesignMode(new DependencyObject())) return;
            new FetchCommand(this).Execute(new CommandArguments() { Uri = uri });
        }
Example #3
0
 public UpdateCommand(Command source)
     : base(source)
 {
 }
Example #4
0
 public Command(Command source)
 {
     binder = source.binder;
     rest = source.rest;
     args = source.args;
 }
Example #5
0
 public FormCommand(Command source)
     : base(source)
 {
 }
Example #6
0
 public FetchCommand(Command source)
     : base(source)
 {
 }
Example #7
0
 public DisplayCommand(Command source)
     : base(source)
 {
 }
Example #8
0
 public DestroyCommand(Command source)
     : base(source)
 {
 }
Example #9
0
 public CreateCommand(Command source)
     : base(source)
 {
 }