C# Класс NuGetGallery.FunctionalTests.NuspecHelper

This class provides the helper methods to create and update the nuspec file.
Наследование: NuGetGallery.FunctionalTests.HelperBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateDefaultNuspecFile ( string packageName, string version = "1.0.0", string minClientVersion = null, string title = null, string tags = null, string description = null, string licenseUrl = null, string dependencies = null ) : Task

Creates a Nuspec file given the Package Name.

NuspecHelper ( ITestOutputHelper testOutputHelper ) : System

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

Метод Описание
AddMinClientVersionAttribute ( string nuspecFilePath, string minclientVersion ) : void

Given a nupsec file path, adds min client version tag to it.

AddWebMatrixTag ( string nuspecFilePath ) : void

Given a nupsec file path, add the Webmatrix tag to it.

AddWindows8Tag ( string nuspecFilePath ) : void

Given a nupsec file path, add the windows 8 tag to it.

RemoveSampleNuspecValues ( string nuspecFilePath ) : void

Given a nuspec file, this removes the default sample nuspec values.

UpdateNuspecFile ( string nuspecFilepath, string searchString, string replacementString ) : void

Given a nuspec file, this method will replace the search string with the replacement string.

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

CreateDefaultNuspecFile() публичный Метод

Creates a Nuspec file given the Package Name.
public CreateDefaultNuspecFile ( string packageName, string version = "1.0.0", string minClientVersion = null, string title = null, string tags = null, string description = null, string licenseUrl = null, string dependencies = null ) : Task
packageName string
version string
minClientVersion string
title string
tags string
description string
licenseUrl string
dependencies string
Результат Task

NuspecHelper() публичный Метод

public NuspecHelper ( ITestOutputHelper testOutputHelper ) : System
testOutputHelper ITestOutputHelper
Результат System