SolutionProject Class

Summary

Represents a project in a MSBuild solution.
Namespace
Cake.Common.Solution
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type["SolutionProject"] class Type type-node Derived0["SolutionFolder"]-->Type click Derived0 "/api/Cake.Common.Solution/SolutionFolder"

Syntax

public class SolutionProject

Constructors

Name Summary
SolutionProject(string, string, FilePath, string) Initializes a new instance of the SolutionProject class.

Properties

Name Value Summary
Id string
Gets the project identity.
Name string
Gets the project name.
Parent SolutionProject
Gets the parent project if any, otherwise null.
Path FilePath
Gets the project path.
Type string
Gets the project type identity.

Extension Methods

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