src/packages/EmbedIO/WebServerOptionsExtensions.cs
/// <summary>
/// Sets a value indicating whether to automatically load the X.509 certificate.
/// </summary>
/// <param name="this">The <see cref="WebServerOptions"/> on which this method is called.</param>
/// <param name="value">If <see langword="true"/>, automatically load the X.509 certificate.</param>
/// <returns><paramref name="this"/> with its <see cref="WebServerOptions.AutoLoadCertificate">AutoLoadCertificate</see> property
/// set to <paramref name="value"/>.</returns>
/// <exception cref="NullReferenceException"><paramref name="this"/> is <see langword="null"/>.</exception>
/// <exception cref="InvalidOperationException">The configuration of <paramref name="this"/> is locked.</exception>
/// <exception cref="PlatformNotSupportedException"><paramref name="value "/> is <see langword="true"/>
/// and the underlying operating system is not Windows.</exception>
Sets a value indicating whether to automatically load the X.509 certificate.
Sets a value indicating whether to automatically load the X . 509 certificate .
public static WebServerOptions WithAutoLoadCertificate(this WebServerOptions @this, bool value)
        {
            @this.AutoLoadCertificate = value;
            return @this;
        }
public static WebServerOptions WithAutoLoadCertificate ( this WebServerOptions @this , bool value ) { @this . AutoLoadCertificate = value ; return @this ; }
Sets a value indicating whether to automatically load the X.509 certificate.
Sets a value indicating whether to automatically load the X . 509 certificate .
with its AutoLoadCertificate.
with its AutoLoadCertificate .
None
The configuration of  is locked.
The configuration of is locked .
None
WebServerOptions
this
value
bool
If , automatically load the X.509 certificate.
If automatically load the X . 509 certificate .
this
The  on which this method is called.
The on which this method is called .