C# Класс NuGet.PackageExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
Find ( this packages ) : IQueryable
GetContentFiles ( this package ) : IEnumerable
GetFiles ( this package, string directory ) : IEnumerable
GetFullName ( this package ) : string
GetHash ( this package ) : string
GetHash ( this package, IHashProvider hashProvider ) : string
HasProjectContent ( this package ) : bool

Returns true if a package has no content that applies to a project.

IsDependencyOnly ( this package ) : bool

Returns true if a package has dependencies but no files.

Приватные методы

Метод Описание
BuildExpressionForTerm ( System.Linq.Expressions.ParameterExpression packageParameterExpression, string term, string propertyName ) : Expression
BuildSearchExpression ( IEnumerable searchTerms ) : bool>>.Expression

Constructs an expression to search for individual tokens in a search term in the Id and Description of packages

Описание методов

Find() публичный статический Метод

public static Find ( this packages ) : IQueryable
packages this
Результат IQueryable

GetContentFiles() публичный статический Метод

public static GetContentFiles ( this package ) : IEnumerable
package this
Результат IEnumerable

GetFiles() публичный статический Метод

public static GetFiles ( this package, string directory ) : IEnumerable
package this
directory string
Результат IEnumerable

GetFullName() публичный статический Метод

public static GetFullName ( this package ) : string
package this
Результат string

GetHash() публичный статический Метод

public static GetHash ( this package ) : string
package this
Результат string

GetHash() публичный статический Метод

public static GetHash ( this package, IHashProvider hashProvider ) : string
package this
hashProvider IHashProvider
Результат string

HasProjectContent() публичный статический Метод

Returns true if a package has no content that applies to a project.
public static HasProjectContent ( this package ) : bool
package this
Результат bool

IsDependencyOnly() публичный статический Метод

Returns true if a package has dependencies but no files.
public static IsDependencyOnly ( this package ) : bool
package this
Результат bool