예제 #1
0
        public override void SerializeUIState(ISettingsSection section, object obj)
        {
            var state = obj as HexViewUIState;

            if (state == null)
            {
                return;
            }
            HexViewUIStateSerializer.Write(section, state);
        }
예제 #2
0
 public override object DeserializeUIState(ISettingsSection section) => HexViewUIStateSerializer.Read(section, new HexViewUIState());