src/packages/EmbedIO/Security/IPBanningModuleExtensions.cs
/// <summary>
/// Adds a collection of valid IPs that never will be banned.
/// </summary>
/// <typeparam name="TModule">The type of the module.</typeparam>
/// <param name="this">The module on which this method is called.</param>
/// <param name="value">A collection of valid IPs that never will be banned.</param>
/// <returns>
///     <paramref name="this"/> with its whitelist configured.
/// </returns>
Adds a collection of valid IPs that never will be banned.
Adds a collection of valid IPs that never will be banned .
public static TModule WithWhitelist<TModule>(this TModule @this, params string[] value)
            where TModule : IPBanningModule
        {
            @this.AddToWhitelist(value);
            return @this;
        }
public static TModule WithWhitelist < TModule > ( this TModule @this , params string [ ] value ) where TModule : IPBanningModule { @this . AddToWhitelist ( value ) ; return @this ; }
Adds a collection of valid IPs that never will be banned.
Adds a collection of valid IPs that never will be banned .
with its whitelist configured.
with its whitelist configured .
TModule
this
this
The module on which this method is called.
The module on which this method is called .
value
A collection of valid IPs that never will be banned.
A collection of valid IPs that never will be banned .
typeparam
The type of the module.
The type of the module .