Example #1
0
 public ProfilingOptions(bool includeQueryStatistics, bool profileConnections, IProfileOutput customProfileOutput)
 {
     CustomProfileOutput = customProfileOutput;
     IncludeQueryStatistics = includeQueryStatistics;
     ProfileConnections = profileConnections;
     ProfilingOutput = ProfilingOutput.Custom;
 }
Example #2
0
 public GenericProfiler(ProfilingOptions implementation)
 {
     Implementation = implementation;
     _profileOutput = Implementation.CreateOutput();
 }