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);
        }
Esempio 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;
 }
Esempio n. 3
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, IObservable <bool> a_canExecute = null) :
     this(a_commandDescriptionBase, false, a_canExecute)
 {
 }
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride, IObservable<bool> a_canExecute = null)
     : base(a_canExecute)
 {
     Description = a_commandDescriptionBase;
     ImageUriOverride = a_imageUriOverride;
 }
Esempio 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);
 }
 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);
 }
Esempio n. 15
0
 public AugmentedReactiveAsyncCommand(ReactiveAsyncCommand a_subCommand, CommandDescriptionBase a_commandDescriptionBase, Uri a_imageUriOverride)
 {
     m_subCommand     = a_subCommand;
     Description      = a_commandDescriptionBase;
     ImageUriOverride = a_imageUriOverride;
 }
Esempio n. 16
0
 public AugmentedReactiveCommand(CommandDescriptionBase a_commandDescriptionBase, IObservable<bool> a_canExecute = null)
     : this(a_commandDescriptionBase, false, a_canExecute)
 {
 }
Esempio 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);
 }