public void TestThatGetLogoYieldsEmptyStringLogoCannotBeExpanded() { var attrib = new ArgumentSetAttribute { Logo = "{", ExpandLogo = true }; var argSet = new ArgumentSetDefinition(attrib); var usageInfo = new ArgumentSetUsageInfo(argSet, null); var logo = usageInfo.Logo; logo.Should().BeEmpty(); }
/// <summary> /// Generates a logo string for the application's entry assembly, or /// the assembly containing this method if no entry assembly could /// be found. /// </summary> /// <returns>The logo string.</returns> public static string GetLogo() => ArgumentSetUsageInfo.GetLogo(null);