mirror of
https://github.com/aphrody-labs/NuGet.Client.git
synced 2026-10-14 13:29:05 +00:00
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.
28 lines
835 B
C#
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();
|
|
}
|
|
}
|
|
}
|