コード例 #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();
 }