This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Incubator.
Summary
Checks if the FilePath is a solution file
- Assembly
- Cake
.Incubator .dll - Namespace
- Cake
.Incubator .FilePathExtensions - Containing Type
- FilePathExtensions
Syntax
public static bool IsSolution(this FilePath filePath)
Examples
Check if the file is a solution
new FilePath("test.sln").IsSolution(); // true
Parameters
Name | Type | Description |
---|---|---|
filePath | FilePath | the path to check |
Return Value
Type | Description |
---|---|
bool | true if sln file |