aspnetcore/src/AspNetCoreModuleV2/CommonLib/Environment.h

21 lines
475 B
C++

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
#pragma once
#include <string>
#include <optional>
class Environment
{
public:
Environment() = delete;
~Environment() = delete;
static
std::wstring ExpandEnvironmentVariables(const std::wstring & str);
static
std::optional<std::wstring> GetEnvironmentVariableValue(const std::wstring & str);
};