PathExtensions IsDeltaEnginePathEnvironmentVariableAvailable Method Delta Engine Documentation

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

public static bool IsDeltaEnginePathEnvironmentVariableAvailable()

Return Value

Type: Boolean
Remarks

Tests: DeltaEngine.Tests.Extensions.PathExtensionsTests
Examples

2 unit tests call DeltaEngine.Extensions.PathExtensions.IsDeltaEnginePathEnvironmentVariableAvailable
[Test]
public void InstallerSetsDeltaEnginePathEnvironmentVariable()
{
    MakeSureEnvironmentVariableIsSet();
    Assert.IsTrue(PathExtensions.IsDeltaEnginePathEnvironmentVariableAvailable());
}
[Test]
public void WithoutInstallerDeltaEnginePathEnvironmentVariableIsNotSet()
{
    DeleteEnvironmentVariableIfSet();
    Assert.IsFalse(PathExtensions.IsDeltaEnginePathEnvironmentVariableAvailable());
}
See Also