PreVerify
This commit is contained in:
parent
7cf1d5771f
commit
b65bf9f639
4
.vscode/tasks.json
vendored
4
.vscode/tasks.json
vendored
@ -166,13 +166,13 @@
|
|||||||
"type": "shell"
|
"type": "shell"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.0/win-x64/publish/File-Folder-Helper.exe .kanbn",
|
"command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe .kanbn",
|
||||||
"label": "File-Folder-Helper AOT s Set metadata",
|
"label": "File-Folder-Helper AOT s Set metadata",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"type": "shell"
|
"type": "shell"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.0/win-x64/publish/File-Folder-Helper.exe s M .kanbn/tasks",
|
"command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe s M L:/DevOps/Mesa_FI/Barcode-Host -s L:/DevOps/Mesa_FI/Barcode-Host/.kanbn/tasks",
|
||||||
"label": "File-Folder-Helper AOT s M tasks",
|
"label": "File-Folder-Helper AOT s M tasks",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"type": "shell"
|
"type": "shell"
|
||||||
|
@ -101,7 +101,10 @@ public class AppSettings
|
|||||||
public static Models.AppSettings Get(IConfigurationRoot configurationRoot)
|
public static Models.AppSettings Get(IConfigurationRoot configurationRoot)
|
||||||
{
|
{
|
||||||
Models.AppSettings result;
|
Models.AppSettings result;
|
||||||
|
#pragma warning disable IL3050, IL2026
|
||||||
AppSettings? appSettings = configurationRoot.Get<AppSettings>();
|
AppSettings? appSettings = configurationRoot.Get<AppSettings>();
|
||||||
|
#pragma warning restore IL3050, IL2026
|
||||||
|
PreVerify(configurationRoot, appSettings);
|
||||||
result = Get(appSettings);
|
result = Get(appSettings);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user