public void Save() { string current_tyon = settings.Serialize(target); if (current_tyon != previous_tyon) { stream.WriteText(current_tyon); previous_tyon = current_tyon; } }
public void WriteText(string text) { if (text != last_text) { if (stream_system_stream.WriteText(text).IsDesired()) { last_text = text; } } }