summaryrefslogtreecommitdiff
path: root/external/aspnetwebstack/src/VirtualPathUtilityWrapper.cs
blob: a43b7b5fdd3c14bb2419e974652e801a5f816961 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.

using System.Web;

namespace Microsoft.Internal.Web.Utils
{
    internal sealed class VirtualPathUtilityWrapper : IVirtualPathUtility
    {
        public string Combine(string basePath, string relativePath)
        {
            return VirtualPathUtility.Combine(basePath, relativePath);
        }

        public string ToAbsolute(string virtualPath)
        {
            return VirtualPathUtility.ToAbsolute(virtualPath);
        }
    }
}