mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-15 08:00:40 +00:00
Use C# 10 string interpolation wherever possible
This commit is contained in:
@@ -310,7 +310,7 @@ public sealed class GlobalConfig {
|
||||
private WebProxy? BackingWebProxy;
|
||||
private string? BackingWebProxyPassword = DefaultWebProxyPassword;
|
||||
|
||||
[JsonProperty(PropertyName = SharedInfo.UlongCompatibilityStringPrefix + nameof(SteamOwnerID), Required = Required.DisallowNull)]
|
||||
[JsonProperty(PropertyName = $"{SharedInfo.UlongCompatibilityStringPrefix}{nameof(SteamOwnerID)}", Required = Required.DisallowNull)]
|
||||
private string SSteamOwnerID {
|
||||
get => SteamOwnerID.ToString(CultureInfo.InvariantCulture);
|
||||
|
||||
|
||||
@@ -92,10 +92,10 @@ public sealed class GlobalDatabase : SerializableFile {
|
||||
}
|
||||
}
|
||||
|
||||
[JsonProperty(PropertyName = "_" + nameof(CellID), Required = Required.DisallowNull)]
|
||||
[JsonProperty(PropertyName = $"_{nameof(CellID)}", Required = Required.DisallowNull)]
|
||||
private uint BackingCellID;
|
||||
|
||||
[JsonProperty(PropertyName = "_" + nameof(LastChangeNumber), Required = Required.DisallowNull)]
|
||||
[JsonProperty(PropertyName = $"_{nameof(LastChangeNumber)}", Required = Required.DisallowNull)]
|
||||
private uint BackingLastChangeNumber;
|
||||
|
||||
private GlobalDatabase(string filePath) : this() {
|
||||
|
||||
Reference in New Issue
Block a user