mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Settingsv2 fix warnings (#2076)
* updating a ton of warnings. * bunch of cleanup * few smaller ones * fixed naming * reversing an oops * adjusting json to use attribute * more json properties
This commit is contained in:
@@ -1,25 +1,31 @@
|
||||
using System;
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Microsoft.PowerToys.Settings.UI.Lib
|
||||
{
|
||||
public class KeyboardManagerSettings : BasePTModuleSettings
|
||||
{
|
||||
public KeyboardManagerProperties properties { get; set; }
|
||||
[JsonPropertyName("properties")]
|
||||
public KeyboardManagerProperties Properties { get; set; }
|
||||
|
||||
public KeyboardManagerSettings()
|
||||
public KeyboardManagerSettings()
|
||||
{
|
||||
this.properties = new KeyboardManagerProperties();
|
||||
this.version = "1";
|
||||
this.name = "_unset_";
|
||||
Properties = new KeyboardManagerProperties();
|
||||
version = "1";
|
||||
name = "_unset_";
|
||||
}
|
||||
|
||||
public KeyboardManagerSettings(string ptName)
|
||||
{
|
||||
this.properties = new KeyboardManagerProperties();
|
||||
this.version = "1";
|
||||
this.name = ptName;
|
||||
Properties = new KeyboardManagerProperties();
|
||||
version = "1";
|
||||
name = ptName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user