public override void Execute(string value, KeyValuePair<Command, string> neededCommand) { ConfigStream stream = new ConfigStream(value); ((MemoryCommand)neededCommand.Key).Execute(neededCommand.Value); stream.Write(((MemoryCommand)neededCommand.Key).MemoryData); base.Execute(value); }
public override void Execute(string value, KeyValuePair <Command, string> neededCommand) { ConfigStream stream = new ConfigStream(value); ((MemoryCommand)neededCommand.Key).Execute(neededCommand.Value); stream.Write(((MemoryCommand)neededCommand.Key).MemoryData); base.Execute(value); }
private void Close(object sender, EventArgs e) { _confiStream.Write(_config); }