Files
Jeff Kluge 40e01c37dc Add new assembly to do restores with MSBuild Static Graph (#3109)
This change adopts Static Graph to speed up command-line based restores.  There is a new EXE that does the evaluation and restore out of proc so that server GC can be enabled.
2020-01-09 14:56:10 -08:00

28 lines
835 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using NuGet.Configuration;
namespace Test.Utility
{
public class MockSettingSection : SettingSection
{
public MockSettingSection(string name, IReadOnlyDictionary<string, string> attributes, IEnumerable<SettingItem> children)
: base(name, attributes, children)
{
}
public MockSettingSection(string name, params SettingItem[] children)
: base(name, attributes: null, children: new HashSet<SettingItem>(children))
{
}
public override SettingBase Clone()
{
throw new NotImplementedException();
}
}
}