SolutionFolder Class

Summary

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

Syntax

public sealed class SolutionFolder : SolutionProject

Constructors

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

Fields

Name Constant Value Summary
TypeIdentifier {2150E333-8FDC-42A3-9474-1A3956D46DE8}
Visual Studio project type guid for solution folder.
static

Properties

Name Value Summary
Id string
Gets the project identity.
Inherited from SolutionProject
Items List<SolutionProject>
Gets Child items of this folder.
Name string
Gets the project name.
Inherited from SolutionProject
Parent SolutionProject
Gets the parent project if any, otherwise null.
Inherited from SolutionProject
Path FilePath
Gets the project path.
Inherited from SolutionProject
Type string
Gets the project type identity.
Inherited from SolutionProject

Extension Methods

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