public static IApplicationBuilder UseProtectFolder( this IApplicationBuilder builder, ProtectFolderOptions options) { return(null); //builder.UseMiddleware(options); }
public ProtectFolder(RequestDelegate next, ProtectFolderOptions options) { _next = next; _path = options.Path; }