20 lines
570 B
C#
20 lines
570 B
C#
// 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);
|
|
}
|
|
}
|
|
}
|