Copy FileSystemGlobbing and HashCodeCombiner sources

This commit is contained in:
Pranav K 2016-04-29 12:11:27 -07:00
parent f8631fa4b7
commit 734c9fc43b
75 changed files with 3999 additions and 43 deletions

View file

@ -0,0 +1,29 @@
// 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 Microsoft.DotNet.ProjectModel.FileSystemGlobbing.Abstractions;
namespace Microsoft.DotNet.ProjectModel.FileSystemGlobbing.Tests.TestUtility
{
internal class MockFileInfo : FileInfoBase
{
public MockFileInfo(
FileSystemOperationRecorder recorder,
DirectoryInfoBase parentDirectory,
string fullName,
string name)
{
Recorder = recorder;
FullName = fullName;
Name = name;
}
public FileSystemOperationRecorder Recorder { get; }
public override DirectoryInfoBase ParentDirectory { get; }
public override string FullName { get; }
public override string Name { get; }
}
}