Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 632c7b8

Browse files
get result after execute command
1 parent 767cc86 commit 632c7b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎SimpleStateMachineNodeEditor/Helpers/Commands/ReactiveCommandWithUndoRedo.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ protected internal ReactiveCommandWithUndoRedo(
4343
throw new ArgumentNullException(nameof(canUnExecute));
4444
}
4545

46+
//How create?
4647
//_command = ReactiveCommand.CreateFromObservable<TParam, IList<TResult>>(execute, canExecute, outputScheduler);
4748

4849
_unExecute = unExecute;
@@ -105,7 +106,8 @@ protected internal ReactiveCommandWithUndoRedo(
105106
public override IObservable<TResult> Execute(TParam parameter = default(TParam))
106107
{
107108
_parameter = parameter;
108-
return _command.Execute(parameter);
109+
_result = _command.Execute(parameter);
110+
return _result;
109111
}
110112

111113
protected override void Dispose(bool disposing)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /