src/Sample.APIInfo/Program.cs
/// <summary>
/// Logs whether a given AppSettings file was found to exist.
/// </summary>
/// <param name="appSettingFileName"></param>
Logs whether a given AppSettings file was found to exist.
Logs whether a given AppSettings file was found to exist .
private static void DisplayAppSettingStatus (string appSettingFileName) {
			if (File.Exists(appSettingFileName))
				Logger.Information("AppSettings File was located.  {AppSettingsFile}", appSettingFileName);
			else 
				Logger.Warning("AppSettings File was not found.  {AppSettingsFile}", appSettingFileName);
		}
private static void DisplayAppSettingStatus ( string appSettingFileName ) { if ( File . Exists ( appSettingFileName ) ) Logger . Information ( " " , appSettingFileName ) ; else Logger . Warning ( " " , appSettingFileName ) ; }
Logs whether a given AppSettings file was found to exist.
Logs whether a given AppSettings file was found to exist .
appSettingFileName
string
None