ymm4-plugin-document
|
Undo/Redo可能なオブジェクトの基底クラスです。 プロパティの変更やコレクションの変更を自動的にUndo/Redo履歴に記録します。 [詳解]
公開メンバ関数 | |
UndoRedoable () | |
UndoRedoable クラスの新しいインスタンスを初期化します。 |
限定公開メンバ関数 | |
override bool | Set<[global::System.Runtime.CompilerServices.Nullable(2)] T > (ref T storage, T value, [global::System.Runtime.CompilerServices.CallerMemberName] string name="", params string[] etcChangedPropertyNames) |
override bool | Set<[global::System.Runtime.CompilerServices.Nullable(2)] T > (global::System.Linq.Expressions.Expression< global::System.Func< T > > propertySelector, T value, [global::System.Runtime.CompilerServices.CallerMemberName] string name="", params string[] etcChangedPropertyNames) |
プロパティの値を設定し、変更があった場合はUndo/Redo履歴に記録します。 | |
void | SubscribeChildUndoRedoable (global::YukkuriMovieMaker.UndoRedo.IUndoRedoable childUndoRedoable) |
子のUndo/Redo可能なオブジェクトを購読します。 | |
void | UnSubscribeChildUndoRedoable (global::YukkuriMovieMaker.UndoRedo.IUndoRedoable childUndoRedoable) |
子のUndo/Redo可能なオブジェクトの購読を解除します。 | |
void | SubscribeChildUndoRedoable (global::System.Collections.Generic.IEnumerable< global::YukkuriMovieMaker.UndoRedo.IUndoRedoable > items) |
子のUndo/Redo可能なオブジェクトのコレクションを購読します。 | |
void | UnSubscribeChildUndoRedoable (global::System.Collections.Generic.IEnumerable< global::YukkuriMovieMaker.UndoRedo.IUndoRedoable > items) |
子のUndo/Redo可能なオブジェクトのコレクションの購読を解除します。 | |
void | RaiseUndoRedoPointCreatedEvent ([global::System.Runtime.CompilerServices.Nullable(2)] object sender, global::YukkuriMovieMaker.UndoRedo.UndoRedoEventArgs e) |
Undo/Redoポイント作成イベントを発生させます。 | |
void | SubscribeObservableCollectionChangedAndChild<[global::System.Runtime.CompilerServices.Nullable(2)] T > (global::System.Collections.ObjectModel.ObservableCollection< T > collection) |
ObservableCollectionの変更と子のUndo/Redo可能なオブジェクトを購読します。 | |
void | UnSubscribeObservableCollectionChangedAndChild<[global::System.Runtime.CompilerServices.Nullable(2)] T > (global::System.Collections.ObjectModel.ObservableCollection< T > collection) |
ObservableCollectionの変更と子のUndo/Redo可能なオブジェクトの購読を解除します。 | |
void | InvokeUndoRedoCommandCreatedEvent (global::YukkuriMovieMaker.UndoRedo.UndoRedoEventArgs args) |
Undo/Redoコマンド作成イベントを呼び出します。 |
イベント | |
global::System.EventHandler< global::YukkuriMovieMaker.UndoRedo.UndoRedoEventArgs > | UndoRedoCommandCreated [add, remove] |
Undo/Redo可能なオブジェクトの基底クラスです。 プロパティの変更やコレクションの変更を自動的にUndo/Redo履歴に記録します。
YukkuriMovieMaker.UndoRedo.UndoRedoable.UndoRedoable | ( | ) |
UndoRedoable クラスの新しいインスタンスを初期化します。
|
protected |
Undo/Redoコマンド作成イベントを呼び出します。
args | イベントデータ。 |
|
protected |
Undo/Redoポイント作成イベントを発生させます。
sender | イベントの送信元。 |
e | イベントデータ。 |
|
protected |
プロパティの値を設定し、変更があった場合はUndo/Redo履歴に記録します。
T | プロパティの型。 |
propertySelector | プロパティセレクター。 |
value | 設定する新しい値。 |
name | プロパティの名前。 |
etcChangedPropertyNames | 変更された可能性のある他のプロパティの名前。 |
|
protected |
プロパティの値を設定し、変更があった場合はUndo/Redo履歴に記録します。
T | プロパティの型。 |
storage | プロパティのバッキングフィールド。 |
value | 設定する新しい値。 |
name | プロパティの名前。 |
etcChangedPropertyNames | 変更された可能性のある他のプロパティの名前。 |
|
protected |
子のUndo/Redo可能なオブジェクトのコレクションを購読します。
items | 購読する子のUndo/Redo可能なオブジェクトのコレクション。 |
|
protected |
子のUndo/Redo可能なオブジェクトを購読します。
childUndoRedoable | 購読する子のUndo/Redo可能なオブジェクト。 |
|
protected |
ObservableCollectionの変更と子のUndo/Redo可能なオブジェクトを購読します。
T | コレクションの要素の型。 |
collection | 購読するObservableCollection。 |
|
protected |
子のUndo/Redo可能なオブジェクトのコレクションの購読を解除します。
items | 購読を解除する子のUndo/Redo可能なオブジェクトのコレクション。 |
|
protected |
子のUndo/Redo可能なオブジェクトの購読を解除します。
childUndoRedoable | 購読を解除する子のUndo/Redo可能なオブジェクト。 |
|
protected |
ObservableCollectionの変更と子のUndo/Redo可能なオブジェクトの購読を解除します。
T | コレクションの要素の型。 |
collection | 購読を解除するObservableCollection。 |
|
addremove |
Undo/Redoコマンドが作成されたときに発生します。