Table of Contents

Class NuGetTestMode

Namespace
NuGet.Protocol.Core.Types
Assembly
NuGet.Protocol.dll
public static class NuGetTestMode
Inheritance
NuGetTestMode
Inherited Members

Fields

NuGetTestClientName

public const string NuGetTestClientName = "NuGet Test Client"

Field Value

string

Properties

Enabled

public static bool Enabled { get; }

Property Value

bool

Methods

InvokeTestFunctionAgainstTestMode<T>(Func<T>, bool)

public static T InvokeTestFunctionAgainstTestMode<T>(Func<T> function, bool testModeEnabled)

Parameters

function Func<T>
testModeEnabled bool

Returns

T

Type Parameters

T