예제 #1
0
 internal ProfilingInterceptor(EasyProfilerOptions options)
 {
     this.options = options;
 }
예제 #2
0
        public static IServiceCollection AddEasyProfiler(this IServiceCollection services, EasyProfilerOptions options = null)
        {
            services.AddSingleton(new ProfilingProxyFactory(options));

            return(services);
        }
예제 #3
0
 public ProfilingProxyFactory(EasyProfilerOptions options = null)
 {
     this.options   = options ?? new EasyProfilerOptions();
     this.generator = new ProxyGenerator();
 }