ExceptionExtensions IsDebugMode Property Delta Engine Documentation

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

public static bool IsDebugMode { get; }

Property Value

Type: Boolean
Remarks

Tests: DeltaEngine.Tests.Extensions.ExceptionExtensionsTests
Examples

1 unit tests call DeltaEngine.Extensions.ExceptionExtensions.IsDebugMode
        [Test]
        public void IsDebugMode()
        {
#if DEBUG
            Assert.IsTrue(ExceptionExtensions.IsDebugMode);
#else
            Assert.IsFalse(ExceptionExtensions.IsDebugMode);
#endif
        }
See Also