public ElectServerInfoMiddleware(RequestDelegate next, IOptions <ElectServerInfoOptions> configuration)
 {
     _next    = next;
     _options = configuration.Value;
 }
 public static IServiceCollection AddElectServerInfo(this IServiceCollection services, [NotNull] ElectServerInfoOptions configuration)
 {
     return(services.AddElectServerInfo(_ =>
     {
         _.ServerName = configuration.ServerName;
         _.PoweredBy = configuration.PoweredBy;
         _.AuthorName = configuration.AuthorName;
         _.AuthorWebsite = configuration.AuthorWebsite;
         _.AuthorEmail = configuration.AuthorEmail;
     }));
 }