dotnet-installer/src/Microsoft.DotNet.InternalAbstractions/FileWrapper.cs
2016-02-16 09:56:19 -08:00

20 lines
No EOL
513 B
C#

// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
namespace Microsoft.Extensions.EnvironmentAbstractions
{
internal class FileWrapper: IFile
{
public bool Exists(string path)
{
return File.Exists(path);
}
public string ReadAllText(string path)
{
return File.ReadAllText(path);
}
}
}