mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-20 00:08:38 +00:00
C# 7.0 syntax sugars
This commit is contained in:
@@ -31,11 +31,7 @@ namespace ConfigGenerator {
|
||||
internal readonly ASFConfig ASFConfig;
|
||||
|
||||
internal ConfigPage(ASFConfig config) {
|
||||
if (config == null) {
|
||||
throw new ArgumentNullException(nameof(config));
|
||||
}
|
||||
|
||||
ASFConfig = config;
|
||||
ASFConfig = config ?? throw new ArgumentNullException(nameof(config));
|
||||
|
||||
RefreshText();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user