Table of Contents

Class HttpSourceCacheContext

Namespace
NuGet.Protocol.Core.Types
Assembly
NuGet.Protocol.dll
public class HttpSourceCacheContext
Inheritance
HttpSourceCacheContext
Inherited Members
Extension Methods

Properties

DirectDownload

public bool DirectDownload { get; }

Property Value

bool

MaxAge

public TimeSpan MaxAge { get; }

Property Value

TimeSpan

RootTempFolder

public string RootTempFolder { get; }

Property Value

string

SourceCacheContext

public SourceCacheContext SourceCacheContext { get; }

Property Value

SourceCacheContext

Methods

Create(SourceCacheContext, bool)

public static HttpSourceCacheContext Create(SourceCacheContext cacheContext, bool isFirstAttempt)

Parameters

cacheContext SourceCacheContext
isFirstAttempt bool

Returns

HttpSourceCacheContext

Create(SourceCacheContext, int)

public static HttpSourceCacheContext Create(SourceCacheContext cacheContext, int retryCount)

Parameters

cacheContext SourceCacheContext
retryCount int

Returns

HttpSourceCacheContext