Files
PowerShell/src/System.Management.Automation/engine/DriveNames.cs
T
Steve Lee 7e2cd7954f Add the experimental feature for creating 'Temp:\' drive when FileSystemProvider initializes (#8696)
Adds Experimental Feature called `PSTempDrive` that, if enabled, creates a PSDrive called `Temp:` that maps to `[System.IO.Path]::GetTempPath()`.
2019-01-23 13:53:04 -08:00

38 lines
1.0 KiB
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace System.Management.Automation
{
/// <summary>
/// Holds the strings used as the default drive names for all the
/// default providers.
/// </summary>
internal static class DriveNames
{
/// <summary>
/// The default VariableProvider drive name.
/// </summary>
internal const string VariableDrive = "Variable";
/// <summary>
/// The default EnvironmentProvider drive name.
/// </summary>
internal const string EnvironmentDrive = "Env";
/// <summary>
/// The default AliasProvider drive name.
/// </summary>
internal const string AliasDrive = "Alias";
/// <summary>
/// The default FunctionProvider drive name.
/// </summary>
internal const string FunctionDrive = "Function";
/// <summary>
/// The Temp drive name.
/// </summary>
internal const string TempDrive = "Temp";
}
}