C# Класс C24.ReVersion.SolutionParser

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
projectPathsRegex System.Text.RegularExpressions.Regex

Открытые методы

Метод Описание
GetProjectPaths ( string solutionFileName ) : IEnumerable
SolutionParser ( IFileSystem fileSystem ) : System

Описание методов

GetProjectPaths() публичный Метод

public GetProjectPaths ( string solutionFileName ) : IEnumerable
solutionFileName string
Результат IEnumerable

SolutionParser() публичный Метод

public SolutionParser ( IFileSystem fileSystem ) : System
fileSystem IFileSystem
Результат System

Описание свойств

projectPathsRegex публичное статическое свойство

Regular expression for extraction of project paths belonging to a solution.
A description of the regular expression: A numbered capture group. [Project\("\{[A-F0-9]{8}(-[A-F0-9]{4}){3}-[A-F0-9]{12}\}"\)] Project\("\{[A-F0-9]{8}(-[A-F0-9]{4}){3}-[A-F0-9]{12}\}"\) Project Literal ( " Literal { Any character in this class: [A-F0-9], exactly 8 repetitions [2]: A numbered capture group. [-[A-F0-9]{4}], exactly 3 repetitions -[A-F0-9]{4} - Any character in this class: [A-F0-9], exactly 4 repetitions - Any character in this class: [A-F0-9], exactly 12 repetitions Literal } " Literal ) A numbered capture group. [\s*=\s*] \s*=\s* Whitespace, any number of repetitions = Whitespace, any number of repetitions A numbered capture group. [".+?"] ".+?" " Any character, one or more repetitions, as few as possible " A numbered capture group. [\s*,\s*] \s*,\s* Whitespace, any number of repetitions , Whitespace, any number of repetitions A numbered capture group. ["(?<ProjectPath>.+?.csproj)"] "(?<ProjectPath>.+?.csproj)" " [ProjectPath]: A named capture group. [.+?.csproj] .+?.csproj Any character, one or more repetitions, as few as possible Any character csproj " A numbered capture group. [\s*,\s*] \s*,\s* Whitespace, any number of repetitions , Whitespace, any number of repetitions A numbered capture group. ["\{[A-F0-9]{8}(-[A-F0-9]{4}){3}-[A-F0-9]{12}\}"] "\{[A-F0-9]{8}(-[A-F0-9]{4}){3}-[A-F0-9]{12}\}" " Literal { Any character in this class: [A-F0-9], exactly 8 repetitions [9]: A numbered capture group. [-[A-F0-9]{4}], exactly 3 repetitions -[A-F0-9]{4} - Any character in this class: [A-F0-9], exactly 4 repetitions - Any character in this class: [A-F0-9], exactly 12 repetitions Literal } "
public static Regex,System.Text.RegularExpressions projectPathsRegex
Результат System.Text.RegularExpressions.Regex