This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EndpointInit | |
{ | |
private readonly IServiceProvider provider; | |
private readonly IActionDescriptorCollectionProvider collectionProvider; | |
private readonly IActionInvokerFactory invokerFactory; | |
private readonly PageLoader pageLoader; | |
public EndpointInit(IServiceProvider provider, IActionDescriptorCollectionProvider collectionProvider, IActionInvokerFactory invokerFactory, PageLoader pageLoader) | |
{ | |
this.provider = provider; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CSharp; | |
using Microsoft.EntityFrameworkCore; | |
using Microsoft.EntityFrameworkCore.Design.Internal; | |
using Microsoft.EntityFrameworkCore.Infrastructure; | |
using Microsoft.EntityFrameworkCore.Metadata; | |
using Microsoft.EntityFrameworkCore.Migrations; | |
using Microsoft.EntityFrameworkCore.Migrations.Design; | |
using Microsoft.EntityFrameworkCore.Migrations.Operations; | |
using Microsoft.EntityFrameworkCore.Storage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Impersonate | |
{ | |
private readonly RequestDelegate next; | |
private ILogger<Impersonate> logger; | |
private readonly IServiceProvider _provider; | |
public Impersonate(ILogger<Impersonate> logger, RequestDelegate next, IServiceProvider provider) { | |
this.next = next; | |
this.logger = logger; |