SystemProfiler IsActive Property Delta Engine Documentation

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

public bool IsActive { get; set; }

Property Value

Type: Boolean

Implements

SystemProfilingProvider IsActive
Remarks

Tests: DeltaEngine.Profiling.Tests.SystemProfilerTests
Examples

1 unit tests call DeltaEngine.Profiling.SystemProfiler.IsActive
[Test, CloseAfterFirstFrame]
public void VerifyDefaultProperties()
{
    Assert.IsFalse(SystemProfiler.Current.IsActive);
    Assert.AreEqual(10, SystemProfiler.Current.MaximumPollsPerSecond);
    Assert.IsTrue(new SystemProfiler().IsActive);
    Assert.AreEqual(10, new SystemProfiler().MaximumPollsPerSecond);
}
See Also