Ejemplo n.º 1
0
        public ValueChangeLogSection(UIComponent component, string changeAction, object value)
            : base(component)
        {
            string valueAsString = SpecialKeys.Replace(Stringifier.ToString(value));

            Message = $"{changeAction} {valueAsString} in {component.ComponentFullName}";
        }
Ejemplo n.º 2
0
        public PressKeysLogSection(UIComponent component, string keys)
            : base(component)
        {
            Keys = keys;

            Message = $"Press \"{SpecialKeys.Replace(keys)}\" key{(keys?.Length == 1 ? null : "s")}";
        }
Ejemplo n.º 3
0
        public ValueSetLogSection(UIComponent component, object value)
            : base(component)
        {
            string valueAsString = SpecialKeys.Replace(Stringifier.ToString(value));

            Message = $"Set {valueAsString} to {component.ComponentFullName}";
        }