Show / Hide Table of Contents

Class SimpleCommandExecutor

Executes IUndoCommands without any additional handling.

Inheritance
Object
SimpleCommandExecutor
Implements
ICommandExecutor
Namespace: NanoByte.Common.Undo
Assembly: NanoByte.Common.dll
Syntax
public class SimpleCommandExecutor : Object, ICommandExecutor

Constructors

SimpleCommandExecutor()

Declaration
public SimpleCommandExecutor()

Properties

Path

The path of the file the data structure being modified was loaded from. null if none.

Declaration
public string Path { get; set; }
Property Value
Type Description
String

Methods

Execute(IUndoCommand)

Executes an IUndoCommand and stores it for later undo-operations.

Declaration
public void Execute(IUndoCommand command)
Parameters
Type Name Description
IUndoCommand command

The command to be executed.

Implements

ICommandExecutor

Extension Methods

UpdateUtils.To<TIn, TOut>(TIn, Func<TIn, TOut>)
JsonStorage.SaveJson<T>(T, Stream)
JsonStorage.SaveJson<T>(T, String)
JsonStorage.ToJsonString<T>(T)
JsonStorage.ReparseAsJson<T>(Object)
JsonStorage.ReparseAsJson<T>(Object, T)
XmlStorage.SaveXml(Object, Stream, String)
XmlStorage.SaveXml<T>(T, String, String)
XmlStorage.ToXmlString(Object, String)
ConversionUtils.ConvertToString<TType>(TType)
In This Article
Back to top Copyright Bastian Eicher