/// <summary>
 /// Initializes a new instance of the <see cref="DefaultProfilerHandle"/> class.
 /// </summary>
 /// <param name="profiler">
 /// The profiler.
 /// </param>
 /// <param name="name">
 /// The name.
 /// </param>
 /// <param name="parameters">
 /// The parameters.
 /// </param>
 internal DefaultProfilerHandle(DefaultProfiler profiler, string name, string[] parameters)
 {
     this.m_Profiler   = profiler;
     this.m_Name       = name;
     this.m_Parameters = parameters;
     this.Start        = DateTime.Now;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultProfilerHandle"/> class.
 /// </summary>
 /// <param name="profiler">
 /// The profiler.
 /// </param>
 /// <param name="name">
 /// The name.
 /// </param>
 /// <param name="parameters">
 /// The parameters.
 /// </param>
 internal DefaultProfilerHandle(DefaultProfiler profiler, string name, string[] parameters)
 {
     this.m_Profiler = profiler;
     this.m_Name = name;
     this.m_Parameters = parameters;
     this.Start = DateTime.Now;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultProfilingInterceptor"/> class.
 /// </summary>
 /// <param name="profiler">
 /// The profiler.
 /// </param>
 public DefaultProfilingInterceptor(DefaultProfiler profiler)
 {
     this.m_Profiler = profiler;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DefaultProfilingInterceptor"/> class.
 /// </summary>
 /// <param name="profiler">
 /// The profiler.
 /// </param>
 public DefaultProfilingInterceptor(DefaultProfiler profiler)
 {
     this.m_Profiler = profiler;
 }