C# Class NuGet.Indexing.QueryBoostingContext

Show file Open project: NuGet/NuGet.Services.Metadata Class Usage Examples

Public Methods

Method Description
Load ( string fileName, ILoader loader, Microsoft.Extensions.Logging.ILogger logger ) : QueryBoostingContext
QueryBoostingContext ( bool boostByDownloads, int threshold, float factor ) : System

Method Details

Load() public static method

public static Load ( string fileName, ILoader loader, Microsoft.Extensions.Logging.ILogger logger ) : QueryBoostingContext
fileName string
loader ILoader
logger Microsoft.Extensions.Logging.ILogger
return QueryBoostingContext

QueryBoostingContext() public method

public QueryBoostingContext ( bool boostByDownloads, int threshold, float factor ) : System
boostByDownloads bool
threshold int
factor float
return System