CodeProfiler Current Property Delta Engine Documentation

Namespace: DeltaEngine.Profiling
Assembly: DeltaEngine.Profiling (in DeltaEngine.Profiling.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public static CodeProfilingProvider Current { get; set; }

Property Value

Type: CodeProfilingProvider
Remarks

Tests: DeltaEngine.Profiling.Tests.CodeProfilerTests
Examples

1 unit tests call DeltaEngine.Profiling.CodeProfiler.Current
[Test]
public void VerifyStaticProfilerCurrentIsFalse()
{
    var profiler = CodeProfiler.Current as CodeProfiler;
    Assert.IsFalse(profiler.IsActive);
}
See Also