Profiler
Assembly: ServiceStack.dll
View Source
Declaration
public static class Profiler
Properties
Current
View Source
Declaration
public static IProfiler Current { get; set; }
Methods
Step(String)
View Source
Declaration
public static IDisposable Step(string name)
Returns
System.IDisposable
Parameters
Type | Name |
---|---|
System.String | name |
RenderIncludes(Nullable<RenderPosition>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Boolean, Nullable<Boolean>)
View Source
Declaration
public static IHtmlString RenderIncludes(RenderPosition? position = null, bool? showTrivial = null, bool? showTimeWithChildren = null, int? maxTracesToShow = null, bool xhtml = false, bool? showControls = null)
Returns
Parameters
Type | Name |
---|---|
System.Nullable<ServiceStack.MiniProfiler.RenderPosition> | position |
System.Nullable<System.Boolean> | showTrivial |
System.Nullable<System.Boolean> | showTimeWithChildren |
System.Nullable<System.Int32> | maxTracesToShow |
System.Boolean | xhtml |
System.Nullable<System.Boolean> | showControls |
Start()
View Source
Declaration
public static IProfiler Start()
Returns
ServiceStack.MiniProfiler.IProfiler
Stop()
View Source
Declaration
public static void Stop()