C# 클래스 NuGetGallery.FunctionalTests.NuspecHelper

This class provides the helper methods to create and update the nuspec file.
상속: NuGetGallery.FunctionalTests.HelperBase
파일 보기 프로젝트 열기: NuGet/NuGetGallery 1 사용 예제들

공개 메소드들

메소드 설명
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