コード例 #1
0
        public override void SerializeUIState(ISettingsSection section, object obj)
        {
            var s = obj as HexBoxUIState;

            if (s == null)
            {
                return;
            }
            HexBoxUIStateSerializer.Write(section, s);
        }
コード例 #2
0
 public override object DeserializeUIState(ISettingsSection section) => HexBoxUIStateSerializer.Read(section, new HexBoxUIState());
コード例 #3
0
 public object CreateSerialized(ISettingsSection section)
 {
     return(HexBoxUIStateSerializer.Read(section, new HexBoxUIState()));
 }