C# Class StackExchange.Profiling.Wcf.WcfRequestProfilerProvider

wCF implementation of a profile provider. This provider uses StackExchange.Profiling.Wcf.Helpers.WcfInstanceContext to keep one MiniProfiler for each request
Inheritance: BaseProfilerProvider
Afficher le fichier Open project: appacitive/Profiling

Méthodes publiques

Méthode Description
GetCurrentProfiler ( ) : MiniProfiler
Start ( ProfileLevel level ) : MiniProfiler
Stop ( bool discardResults ) : void
WcfRequestProfilerProvider ( ) : System

Private Methods

Méthode Description
EnsureServiceName ( MiniProfiler profiler ) : void

Makes sure 'profiler' has a Name, pulling it from route data or url.

GetProfilerName ( System.ServiceModel.OperationContext operationContext, System.ServiceModel.InstanceContext instanceContext ) : string
SetCurrentProfiler ( MiniProfiler profiler ) : void

Method Details

GetCurrentProfiler() public méthode

public GetCurrentProfiler ( ) : MiniProfiler
Résultat MiniProfiler

Start() public méthode

public Start ( ProfileLevel level ) : MiniProfiler
level ProfileLevel
Résultat MiniProfiler

Stop() public méthode

public Stop ( bool discardResults ) : void
discardResults bool
Résultat void

WcfRequestProfilerProvider() public méthode

public WcfRequestProfilerProvider ( ) : System
Résultat System