public override void SerializeUIState(ISettingsSection section, object obj)
        {
            var s = obj as HexBoxUIState;

            if (s == null)
            {
                return;
            }
            HexBoxUIStateSerializer.Write(section, s);
        }
 public override object DeserializeUIState(ISettingsSection section) => HexBoxUIStateSerializer.Read(section, new HexBoxUIState());
Esempio n. 3
0
 public object CreateSerialized(ISettingsSection section)
 {
     return(HexBoxUIStateSerializer.Read(section, new HexBoxUIState()));
 }