Exemple #1
0
 public Binder()
 {
     _fetch = new FetchCommand(this);
     _destroy = new DestroyCommand(this);
     _display = new DisplayCommand(this);
     Data = new ExpandoObject();
     Context = new ExpandoObject();
 }
Exemple #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 });
        }
Exemple #3
0
 public UpdateCommand(Command source)
     : base(source)
 {
 }
Exemple #4
0
 public Command(Command source)
 {
     binder = source.binder;
     rest = source.rest;
     args = source.args;
 }
Exemple #5
0
 public FormCommand(Command source)
     : base(source)
 {
 }
Exemple #6
0
 public FetchCommand(Command source)
     : base(source)
 {
 }
Exemple #7
0
 public DisplayCommand(Command source)
     : base(source)
 {
 }
Exemple #8
0
 public DestroyCommand(Command source)
     : base(source)
 {
 }
Exemple #9
0
 public CreateCommand(Command source)
     : base(source)
 {
 }