Class CommandManager
Factory methods for ICommandManager<T>.
Namespace: NanoByte.Common.Undo
Assembly: NanoByte.Common.dll
Syntax
public static class CommandManager : Object
Methods
For<T>(T, String)
Creates a new command manager.
Declaration
public static ICommandManager<T> For<T>(T target, string path = null)
where T : class
Parameters
Type | Name | Description |
---|---|---|
T | target | The object being edited. |
String | path | The path of the file the |
Returns
Type | Description |
---|---|
ICommandManager<T> |
Type Parameters
Name | Description |
---|---|
T |