C# Class SolutionAndProjectHelper, atc-rest-api-generator

Show file Open project: atc-net/atc-rest-api-generator Class Usage Examples

Public Methods

Method Description
EnsureLatestPackageReferencesVersionInProjFile ( ILogger, logger, FileInfo, projectCsProjFile, string fileDisplayLocation, ProjectType, projectType, bool isTestProject ) : bool
ScaffoldSlnFile ( ILogger, logger, FileInfo, slnFile, string projectName, DirectoryInfo, apiPath, DirectoryInfo, domainPath, DirectoryInfo, hostPath, DirectoryInfo? domainTestPath = null, DirectoryInfo? hostTestPath = null ) : void

Private Methods

Method Description
CreateSlnDotSettingsFileContent ( IEnumerable, codeInspectionExcludeProjects, IEnumerable, codeInspectionExcludeProjectsFolders ) : string
CreateSlnFileContent ( FileInfo, slnFile, string projectName, DirectoryInfo? domainTestPath, DirectoryInfo? hostTestPath, string apiPrefixPath, Guid, apiId, string domainPrefixPath, Guid, domainId, string hostPrefixPath, Guid, hostId, Guid, hostTestId, Guid, domainTestId, Guid, slnId ) : string
GetPackageReferencesThatNeedsToBeUpdated ( ILogger, logger, string fileContent ) : List
GetProjectReference ( FileInfo, source, FileInfo, destination ) : string
GetProjectReference ( FileSystemInfo, source, FileSystemInfo, destination, string projectName ) : string
ReSharperFormatGuid ( Guid, projectId ) : string
ReSharperFormatGuidAndPath ( Tuple, data ) : string
ScaffoldProjFile ( ILogger, logger, FileInfo, projectCsProjFile, string fileDisplayLocation, ProjectType, projectType, bool createAsWeb, bool createAsTestProject, string projectName, string targetFramework, IList? frameworkReferences, IList>? packageReferences, IList? projectReferences, bool includeApiSpecification, bool usingCodingRules ) : void
TryGetGuidByProject ( IEnumerable, lines, string csProjectEndPart, Guid, &id ) : bool

Method Details

EnsureLatestPackageReferencesVersionInProjFile() public static method

public static EnsureLatestPackageReferencesVersionInProjFile ( ILogger, logger, FileInfo, projectCsProjFile, string fileDisplayLocation, ProjectType, projectType, bool isTestProject ) : bool
logger ILogger,
projectCsProjFile FileInfo,
fileDisplayLocation string
projectType ProjectType,
isTestProject bool
return bool

ScaffoldSlnFile() public static method

public static ScaffoldSlnFile ( ILogger, logger, FileInfo, slnFile, string projectName, DirectoryInfo, apiPath, DirectoryInfo, domainPath, DirectoryInfo, hostPath, DirectoryInfo? domainTestPath = null, DirectoryInfo? hostTestPath = null ) : void
logger ILogger,
slnFile FileInfo,
projectName string
apiPath DirectoryInfo,
domainPath DirectoryInfo,
hostPath DirectoryInfo,
domainTestPath DirectoryInfo?
hostTestPath DirectoryInfo?
return void