C# Class Rosalia.TaskLib.NuGet.Tasks.GenerateNuGetSpecTask

Inheritance: AbstractTask
Exibir arquivo Open project: rosaliafx/Rosalia

Public Methods

Method Description
Authors ( ) : GenerateNuGetSpecTask
Copyright ( string copyright ) : GenerateNuGetSpecTask
Description ( string description ) : GenerateNuGetSpecTask
GenerateNuGetSpecTask ( IFile destination ) : System.Collections.Generic
IconUrl ( string iconUrl ) : GenerateNuGetSpecTask
Id ( string id ) : GenerateNuGetSpecTask
Language ( CultureInfo locale ) : GenerateNuGetSpecTask
Language ( string localeId ) : GenerateNuGetSpecTask
LicenseUrl ( string licenseUrl ) : GenerateNuGetSpecTask
Owners ( ) : GenerateNuGetSpecTask
ProjectUrl ( string projectUrl ) : GenerateNuGetSpecTask
ReleaseNotes ( string releaseNotes ) : GenerateNuGetSpecTask
RequireLicenseAcceptance ( bool requireLicenseAcceptance ) : GenerateNuGetSpecTask
Summary ( string summary ) : GenerateNuGetSpecTask
Tags ( ) : GenerateNuGetSpecTask
Title ( string title ) : GenerateNuGetSpecTask
Version ( string version ) : GenerateNuGetSpecTask
WithContentFiles ( FileList files, string target = null ) : GenerateNuGetSpecTask
WithDependenciesFromPackagesConfig ( IDirectory projectDirectory, bool ignoreFrameworkVersion = false ) : GenerateNuGetSpecTask

Reads dependencies from packages.config file.

WithDependenciesFromPackagesConfig ( IFile packagesConfigFile, bool ignoreFrameworkVersion = false ) : GenerateNuGetSpecTask

Reads dependencies from packages.config file.

WithDependency ( string id, string version = null, string frameworkVersion = null ) : GenerateNuGetSpecTask
WithFile ( IFile file, string target, string exclude = null ) : GenerateNuGetSpecTask
WithFile ( string src, string target, string exclude = null ) : GenerateNuGetSpecTask
WithFiles ( IEnumerable files, string target, string exclude = null ) : GenerateNuGetSpecTask
WithFrameworkAssembly ( string assemblyName, string frameworkVersion = null ) : GenerateNuGetSpecTask
WithReference ( string referenceDll ) : GenerateNuGetSpecTask

Protected Methods

Method Description
SafeExecute ( TaskContext context ) : ITaskResult

Private Methods

Method Description
WriteOptionalAttribute ( string name, string value, TextWriter writer ) : void

Method Details

Authors() public method

public Authors ( ) : GenerateNuGetSpecTask
return GenerateNuGetSpecTask

Copyright() public method

public Copyright ( string copyright ) : GenerateNuGetSpecTask
copyright string
return GenerateNuGetSpecTask

Description() public method

public Description ( string description ) : GenerateNuGetSpecTask
description string
return GenerateNuGetSpecTask

GenerateNuGetSpecTask() public method

public GenerateNuGetSpecTask ( IFile destination ) : System.Collections.Generic
destination Rosalia.FileSystem.IFile
return System.Collections.Generic

IconUrl() public method

public IconUrl ( string iconUrl ) : GenerateNuGetSpecTask
iconUrl string
return GenerateNuGetSpecTask

Id() public method

public Id ( string id ) : GenerateNuGetSpecTask
id string
return GenerateNuGetSpecTask

Language() public method

public Language ( CultureInfo locale ) : GenerateNuGetSpecTask
locale System.Globalization.CultureInfo
return GenerateNuGetSpecTask

Language() public method

public Language ( string localeId ) : GenerateNuGetSpecTask
localeId string
return GenerateNuGetSpecTask

LicenseUrl() public method

public LicenseUrl ( string licenseUrl ) : GenerateNuGetSpecTask
licenseUrl string
return GenerateNuGetSpecTask

Owners() public method

public Owners ( ) : GenerateNuGetSpecTask
return GenerateNuGetSpecTask

ProjectUrl() public method

public ProjectUrl ( string projectUrl ) : GenerateNuGetSpecTask
projectUrl string
return GenerateNuGetSpecTask

ReleaseNotes() public method

public ReleaseNotes ( string releaseNotes ) : GenerateNuGetSpecTask
releaseNotes string
return GenerateNuGetSpecTask

RequireLicenseAcceptance() public method

public RequireLicenseAcceptance ( bool requireLicenseAcceptance ) : GenerateNuGetSpecTask
requireLicenseAcceptance bool
return GenerateNuGetSpecTask

SafeExecute() protected method

protected SafeExecute ( TaskContext context ) : ITaskResult
context Rosalia.Core.Tasks.TaskContext
return ITaskResult

Summary() public method

public Summary ( string summary ) : GenerateNuGetSpecTask
summary string
return GenerateNuGetSpecTask

Tags() public method

public Tags ( ) : GenerateNuGetSpecTask
return GenerateNuGetSpecTask

Title() public method

public Title ( string title ) : GenerateNuGetSpecTask
title string
return GenerateNuGetSpecTask

Version() public method

public Version ( string version ) : GenerateNuGetSpecTask
version string
return GenerateNuGetSpecTask

WithContentFiles() public method

public WithContentFiles ( FileList files, string target = null ) : GenerateNuGetSpecTask
files System.IO.FileList
target string
return GenerateNuGetSpecTask

WithDependenciesFromPackagesConfig() public method

Reads dependencies from packages.config file.
public WithDependenciesFromPackagesConfig ( IDirectory projectDirectory, bool ignoreFrameworkVersion = false ) : GenerateNuGetSpecTask
projectDirectory Rosalia.FileSystem.IDirectory
ignoreFrameworkVersion bool
return GenerateNuGetSpecTask

WithDependenciesFromPackagesConfig() public method

Reads dependencies from packages.config file.
public WithDependenciesFromPackagesConfig ( IFile packagesConfigFile, bool ignoreFrameworkVersion = false ) : GenerateNuGetSpecTask
packagesConfigFile Rosalia.FileSystem.IFile
ignoreFrameworkVersion bool
return GenerateNuGetSpecTask

WithDependency() public method

public WithDependency ( string id, string version = null, string frameworkVersion = null ) : GenerateNuGetSpecTask
id string
version string
frameworkVersion string
return GenerateNuGetSpecTask

WithFile() public method

public WithFile ( IFile file, string target, string exclude = null ) : GenerateNuGetSpecTask
file Rosalia.FileSystem.IFile
target string
exclude string
return GenerateNuGetSpecTask

WithFile() public method

public WithFile ( string src, string target, string exclude = null ) : GenerateNuGetSpecTask
src string
target string
exclude string
return GenerateNuGetSpecTask

WithFiles() public method

public WithFiles ( IEnumerable files, string target, string exclude = null ) : GenerateNuGetSpecTask
files IEnumerable
target string
exclude string
return GenerateNuGetSpecTask

WithFrameworkAssembly() public method

public WithFrameworkAssembly ( string assemblyName, string frameworkVersion = null ) : GenerateNuGetSpecTask
assemblyName string
frameworkVersion string
return GenerateNuGetSpecTask

WithReference() public method

public WithReference ( string referenceDll ) : GenerateNuGetSpecTask
referenceDll string
return GenerateNuGetSpecTask