Skip to main content

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
TypeName
System.Stringname

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

ServiceStack.IHtmlString

Parameters
TypeName
System.Nullable<ServiceStack.MiniProfiler.RenderPosition>position
System.Nullable<System.Boolean>showTrivial
System.Nullable<System.Boolean>showTimeWithChildren
System.Nullable<System.Int32>maxTracesToShow
System.Booleanxhtml
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()