src/Sample.APIInfo/Program.cs
/// <summary>
/// Sets up the API Info Base object
/// </summary>
/// <returns></returns>
Sets up the API Info Base object
Sets up the API Info Base object
private static APIInfoBase SetupAPIInfoBase () {
			APIInfoBase apiInfoBase = new();
			apiInfoBase.AddConfigHideCriteria("password");
			apiInfoBase.AddConfigHideCriteria("os");
			apiInfoBase.AddConfigHideCriteria("urls", false, false);
			apiInfoBase.AddConfigHideCriteria("LogLevel", true);
			apiInfoBase.AddConfigHideCriteria("environment", false, false);
			apiInfoBase.AddConfigOverrideString("ASPNETCORE_URLS");
			return apiInfoBase;
		}
private static APIInfoBase SetupAPIInfoBase ( ) { APIInfoBase apiInfoBase = new ( ) ; apiInfoBase . AddConfigHideCriteria ( " " ) ; apiInfoBase . AddConfigHideCriteria ( " " ) ; apiInfoBase . AddConfigHideCriteria ( " " , false , false ) ; apiInfoBase . AddConfigHideCriteria ( " " , true ) ; apiInfoBase . AddConfigHideCriteria ( " " , false , false ) ; apiInfoBase . AddConfigOverrideString ( " " ) ; return apiInfoBase ; }
Sets up the API Info Base object
Sets up the API Info Base object
// This is how you override the api endpoint to something other than info //APIInfoBase apiInfoBase = new("infotest"); // Override and allow one URLS entry to display
None