public ValueChangeLogSection(UIComponent component, string changeAction, object value) : base(component) { string valueAsString = SpecialKeys.Replace(Stringifier.ToString(value)); Message = $"{changeAction} {valueAsString} in {component.ComponentFullName}"; }
public PressKeysLogSection(UIComponent component, string keys) : base(component) { Keys = keys; Message = $"Press \"{SpecialKeys.Replace(keys)}\" key{(keys?.Length == 1 ? null : "s")}"; }
public ValueSetLogSection(UIComponent component, object value) : base(component) { string valueAsString = SpecialKeys.Replace(Stringifier.ToString(value)); Message = $"Set {valueAsString} to {component.ComponentFullName}"; }