ProfileResultsFormatterTests StartingTwoSections Method Delta Engine Documentation

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

public void StartingTwoSections()
Examples

[Test]
public void StartingTwoSections()
{
    var profiler = new CodeProfiler();
    profiler.Start(ProfilingMode.Rendering, Section1);
    profiler.Start(ProfilingMode.Rendering, Section2);
    Assert.IsTrue(
        profiler.GetProfilingResultsSummary(ProfilingMode.Rendering).StartsWith(TwoSections));
}
See Also