NuSpecFrameworkAssembly Class

Summary

Specifies framework assemblies to ensure that required references are added to a project.
Namespace
Cake.Common.Tools.NuGet.Pack
Base Types
  • object
graph BT Type-->Base0["object"] Type["NuSpecFrameworkAssembly"] class Type type-node

Syntax

public class NuSpecFrameworkAssembly

Properties

Name Value Summary
AssemblyName string
Gets or sets the fully qualified assembly name.
TargetFramework string
Gets or sets the target framework to which this reference applies. If omitted, indicates that the reference applies to all frameworks.

Extension Methods

Name Value Summary
Dump<NuSpecFrameworkAssembly>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NuSpecFrameworkAssembly>(NuSpecFrameworkAssembly[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NuSpecFrameworkAssembly>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<NuSpecFrameworkAssembly>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<NuSpecFrameworkAssembly>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NuSpecFrameworkAssembly>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin