C# Класс NuGet.Test.PackageUtility

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateAssemblyReference ( string path, FrameworkName targetFramework ) : IPackageAssemblyReference
CreateFiles ( IEnumerable fileNames, string directory = "" ) : List
CreatePackage ( string id, string version, IEnumerable content, IEnumerable assemblyReferences, IEnumerable tools, IEnumerable dependencies, int downloadCount, string description, string summary, bool listed, string tags ) : IPackage
CreatePackage ( string id, string version, IEnumerable content, IEnumerable assemblyReferences, IEnumerable tools, IEnumerable dependencies, int downloadCount, string description, string summary, bool listed, string tags, string language, IEnumerable satelliteAssemblies ) : IPackage
CreatePackage ( string id, string version, IEnumerable content, IEnumerable assemblyReferences, IEnumerable tools, IEnumerable dependencySets, int downloadCount, string description, string summary, bool listed, string tags, string language, IEnumerable satelliteAssemblies ) : IPackage
CreatePackage ( string id, string version = "1.0", IEnumerable content = null, IEnumerable assemblyReferences = null, IEnumerable tools = null, IEnumerable dependencies = null, int downloadCount, string description = null, string summary = null, bool listed = true, string tags = "", string language = null, IEnumerable satelliteAssemblies = null ) : IPackage
CreatePackageWithDependencySets ( string id, string version = "1.0", IEnumerable content = null, IEnumerable assemblyReferences = null, IEnumerable tools = null, IEnumerable dependencySets = null, int downloadCount, string description = null, string summary = null, bool listed = true, string tags = "", string language = null, IEnumerable satelliteAssemblies = null ) : IPackage
CreateProjectLevelPackage ( string id, string version = "1.0", IEnumerable dependencies = null ) : IPackage

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

Метод Описание
CreateAssemblyReferences ( IEnumerable fileNames ) : List
ParseFrameworkName ( string fileName, string &effectivePath ) : FrameworkName

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

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

public static CreateAssemblyReference ( string path, FrameworkName targetFramework ) : IPackageAssemblyReference
path string
targetFramework FrameworkName
Результат IPackageAssemblyReference

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

public static CreateFiles ( IEnumerable fileNames, string directory = "" ) : List
fileNames IEnumerable
directory string
Результат List

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

public static CreatePackage ( string id, string version, IEnumerable content, IEnumerable assemblyReferences, IEnumerable tools, IEnumerable dependencies, int downloadCount, string description, string summary, bool listed, string tags ) : IPackage
id string
version string
content IEnumerable
assemblyReferences IEnumerable
tools IEnumerable
dependencies IEnumerable
downloadCount int
description string
summary string
listed bool
tags string
Результат IPackage

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

public static CreatePackage ( string id, string version, IEnumerable content, IEnumerable assemblyReferences, IEnumerable tools, IEnumerable dependencies, int downloadCount, string description, string summary, bool listed, string tags, string language, IEnumerable satelliteAssemblies ) : IPackage
id string
version string
content IEnumerable
assemblyReferences IEnumerable
tools IEnumerable
dependencies IEnumerable
downloadCount int
description string
summary string
listed bool
tags string
language string
satelliteAssemblies IEnumerable
Результат IPackage

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

public static CreatePackage ( string id, string version, IEnumerable content, IEnumerable assemblyReferences, IEnumerable tools, IEnumerable dependencySets, int downloadCount, string description, string summary, bool listed, string tags, string language, IEnumerable satelliteAssemblies ) : IPackage
id string
version string
content IEnumerable
assemblyReferences IEnumerable
tools IEnumerable
dependencySets IEnumerable
downloadCount int
description string
summary string
listed bool
tags string
language string
satelliteAssemblies IEnumerable
Результат IPackage

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

public static CreatePackage ( string id, string version = "1.0", IEnumerable content = null, IEnumerable assemblyReferences = null, IEnumerable tools = null, IEnumerable dependencies = null, int downloadCount, string description = null, string summary = null, bool listed = true, string tags = "", string language = null, IEnumerable satelliteAssemblies = null ) : IPackage
id string
version string
content IEnumerable
assemblyReferences IEnumerable
tools IEnumerable
dependencies IEnumerable
downloadCount int
description string
summary string
listed bool
tags string
language string
satelliteAssemblies IEnumerable
Результат IPackage

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

public static CreatePackageWithDependencySets ( string id, string version = "1.0", IEnumerable content = null, IEnumerable assemblyReferences = null, IEnumerable tools = null, IEnumerable dependencySets = null, int downloadCount, string description = null, string summary = null, bool listed = true, string tags = "", string language = null, IEnumerable satelliteAssemblies = null ) : IPackage
id string
version string
content IEnumerable
assemblyReferences IEnumerable
tools IEnumerable
dependencySets IEnumerable
downloadCount int
description string
summary string
listed bool
tags string
language string
satelliteAssemblies IEnumerable
Результат IPackage

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

public static CreateProjectLevelPackage ( string id, string version = "1.0", IEnumerable dependencies = null ) : IPackage
id string
version string
dependencies IEnumerable
Результат IPackage