internal ProfilingInterceptor(EasyProfilerOptions options) { this.options = options; }
public static IServiceCollection AddEasyProfiler(this IServiceCollection services, EasyProfilerOptions options = null) { services.AddSingleton(new ProfilingProxyFactory(options)); return(services); }
public ProfilingProxyFactory(EasyProfilerOptions options = null) { this.options = options ?? new EasyProfilerOptions(); this.generator = new ProxyGenerator(); }