FilePathExtensions.

IsSolution(FilePath) Method

Summary

Checks if the FilePath is a solution file

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