6fcbefa4f7
Removes *3 verbs, making msbuild the driver
24 lines
694 B
C#
24 lines
694 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;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Microsoft.DotNet.Tools.Test.Utilities
|
|
{
|
|
public static class FileInfoExtensions
|
|
{
|
|
public static FileInfoAssertions Should(this FileInfo file)
|
|
{
|
|
return new FileInfoAssertions(file);
|
|
}
|
|
|
|
public static FileInfo Sub(this FileInfo file, string name)
|
|
{
|
|
return new FileInfo(Path.Combine(file.FullName, name));
|
|
}
|
|
}
|
|
}
|