/// <summary> /// Sets additional text to be displayed before the built-in help text is displayed /// </summary> /// <param name="hostConfigurator"></param> /// <param name="text"></param> public static HostConfigurator SetHelpTextPrefix(this HostConfigurator hostConfigurator, string text) { var configurator = new PrefixHelpTextHostConfigurator(text); hostConfigurator.AddConfigurator(configurator); return hostConfigurator; }
/// <summary> /// Sets additional text to be displayed before the built-in help text is displayed /// </summary> /// <param name="hostConfigurator"></param> /// <param name="text"></param> public static HostConfigurator SetHelpTextPrefix(this HostConfigurator hostConfigurator, string text) { var configurator = new PrefixHelpTextHostConfigurator(text); hostConfigurator.AddConfigurator(configurator); return(hostConfigurator); }
/// <summary> /// Specifies a text resource to be loaded and displayed before the built-in system help text is displayed /// </summary> /// <param name="hostConfigurator"></param> /// <param name="assembly">The assembly containing the text resource</param> /// <param name="resourceName">The name of the embedded resource</param> public static HostConfigurator LoadHelpTextPrefix(this HostConfigurator hostConfigurator, Assembly assembly, string resourceName) { var configurator = new PrefixHelpTextHostConfigurator(assembly, resourceName); hostConfigurator.AddConfigurator(configurator); return hostConfigurator; }
/// <summary> /// Specifies a text resource to be loaded and displayed before the built-in system help text is displayed /// </summary> /// <param name="hostConfigurator"></param> /// <param name="assembly">The assembly containing the text resource</param> /// <param name="resourceName">The name of the embedded resource</param> public static HostConfigurator LoadHelpTextPrefix(this HostConfigurator hostConfigurator, Assembly assembly, string resourceName) { var configurator = new PrefixHelpTextHostConfigurator(assembly, resourceName); hostConfigurator.AddConfigurator(configurator); return(hostConfigurator); }