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());
public object CreateSerialized(ISettingsSection section) { return(HexBoxUIStateSerializer.Read(section, new HexBoxUIState())); }