public static AugmentedReactiveCommand Augment(this ReactiveCommand a_this, CommandDescriptionBase a_commandDescriptionBase)
        {
            var newCmd = new AugmentedReactiveCommand(a_commandDescriptionBase, a_this.CanExecuteObservable);

            a_this.Subscribe(newCmd.Execute);
            return(newCmd);
        }
Exemplo n.º 2
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride, IObservable <bool> a_canExecute = null) :
     base(a_canExecute)
 {
     Description      = a_commandDescriptionBase;
     ImageUriOverride = a_imageUriOverride;
 }
Exemplo n.º 3
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, IObservable <bool> a_canExecute = null) :
     this(a_commandDescriptionBase, false, a_canExecute)
 {
 }
Exemplo n.º 4
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride, IObservable<bool> a_canExecute = null)
     : base(a_canExecute)
 {
     Description = a_commandDescriptionBase;
     ImageUriOverride = a_imageUriOverride;
 }
Exemplo n.º 5
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource, IObservable <bool> a_canExecute = null) :
     base(a_canExecute)
 {
     Description      = a_commandDescriptionBase;
     HasImageResource = a_hasImageResource;
 }
 public static AugmentedReactiveAsyncCommand Augment(this ReactiveAsyncCommand a_this, CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource)
 {
     return new AugmentedReactiveAsyncCommand(a_this, a_commandDescriptionBase, a_hasImageResource);
 }
Exemplo n.º 7
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource, IObservable<bool> a_canExecute = null)
     : base(a_canExecute)
 {
     Description = a_commandDescriptionBase;
     HasImageResource = a_hasImageResource;
 }
 public static AugmentedReactiveCommand Augment(this ReactiveCommand a_this, CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource)
 {
     var newCmd = new AugmentedReactiveCommand(a_commandDescriptionBase, a_hasImageResource, a_this.CanExecuteObservable);
     a_this.Subscribe(newCmd.Execute);
     return newCmd;
 }
 public static AugmentedReactiveCommand Augment(this ReactiveCommand a_this, CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride)
 {
     var newCmd = new AugmentedReactiveCommand(a_commandDescriptionBase, a_imageUriOverride, a_this.CanExecuteObservable);
     a_this.Subscribe(newCmd.Execute);
     return newCmd;
 }
 public static AugmentedReactiveAsyncCommand Augment(this ReactiveAsyncCommand a_this, CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource)
 {
     return(new AugmentedReactiveAsyncCommand(a_this, a_commandDescriptionBase, a_hasImageResource));
 }
 public static AugmentedReactiveAsyncCommand Augment(this ReactiveAsyncCommand a_this, CommandDescriptionBase a_commandDescriptionBase)
 {
     return(new AugmentedReactiveAsyncCommand(a_this, a_commandDescriptionBase));
 }
 public AugmentedReactiveAsyncCommand(ReactiveAsyncCommand a_subCommand, CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride)
 {
     m_subCommand = a_subCommand;
     Description = a_commandDescriptionBase;
     ImageUriOverride = a_imageUriOverride;
 }
 public AugmentedReactiveAsyncCommand(ReactiveAsyncCommand a_subCommand, CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource = false)
 {
     m_subCommand = a_subCommand;
     Description = a_commandDescriptionBase;
     HasImageResource = a_hasImageResource;
 }
 public static AugmentedReactiveAsyncCommand Augment(this ReactiveAsyncCommand a_this, CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride)
 {
     return new AugmentedReactiveAsyncCommand(a_this, a_commandDescriptionBase, a_imageUriOverride);
 }
Exemplo n.º 15
0
 public AugmentedReactiveAsyncCommand(ReactiveAsyncCommand a_subCommand, CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride)
 {
     m_subCommand     = a_subCommand;
     Description      = a_commandDescriptionBase;
     ImageUriOverride = a_imageUriOverride;
 }
Exemplo n.º 16
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, IObservable<bool> a_canExecute = null)
     : this(a_commandDescriptionBase, false, a_canExecute)
 {
 }
Exemplo n.º 17
0
 public AugmentedReactiveAsyncCommand(ReactiveAsyncCommand a_subCommand, CommandDescriptionBase a_commandDescriptionBase, bool a_hasImageResource = false)
 {
     m_subCommand     = a_subCommand;
     Description      = a_commandDescriptionBase;
     HasImageResource = a_hasImageResource;
 }
 public static AugmentedReactiveAsyncCommand Augment(this ReactiveAsyncCommand a_this, CommandDescriptionBase a_commandDescriptionBase)
 {
     return new AugmentedReactiveAsyncCommand(a_this, a_commandDescriptionBase);
 }