C# Class Bari.Plugins.VsCore.VisualStudio.SolutionName.ReadableSlnNameGenerator

Advanced SLN name generator which tries to give human readable names to special cases of set of projects.
Inheritance: ISlnNameGenerator
Afficher le fichier Open project: vigoo/bari Class Usage Examples

Méthodes publiques

Méthode Description
GetName ( IEnumerable projects ) : string

Generates a file name for a VS solution file which will contain the given set of projects.

ReadableSlnNameGenerator ( ISlnNameGenerator fallbackGenerator, ISuiteContentsAnalyzer analyzer ) : System.Collections.Generic

Creates the name generator

Private Methods

Méthode Description
AllHasTests ( IEnumerable matches ) : bool?
GetNameBasedOnMultipleModules ( IEnumerable modules, bool allHasTests ) : string
GetNameBasedOnProduct ( string productName, bool allHasTests ) : string
GetNameForSingleProject ( Project project ) : string
GetPostfix ( bool allHasTests ) : string

Method Details

GetName() public méthode

Generates a file name for a VS solution file which will contain the given set of projects.
public GetName ( IEnumerable projects ) : string
projects IEnumerable Set of projects to be included in the SLN file
Résultat string

ReadableSlnNameGenerator() public méthode

Creates the name generator
public ReadableSlnNameGenerator ( ISlnNameGenerator fallbackGenerator, ISuiteContentsAnalyzer analyzer ) : System.Collections.Generic
fallbackGenerator ISlnNameGenerator Fallback name generator to be used when the set of projects is not a special case /// handled by this name generator.
analyzer ISuiteContentsAnalyzer Solution analyzer to be used to find special cases.
Résultat System.Collections.Generic