Dreamine.Web 1.0.0.0
WPF와 Blazor를 한 코드 흐름으로 연결하고 반복적인 MVVM 코드를 줄이는 오픈소스 FullKit 공식 웹 애플리케이션입니다.
로딩중...
검색중...
일치하는것 없음
DreamineWeb.Services.DocumentationPathResolver 클래스 참조

더 자세히 ...

정적 Public 멤버 함수

static ? string ResolveDoxygenRoot (IConfiguration configuration)

정적 Private 멤버 함수

static ? string FindSolutionDocumentation (string startPath)

상세한 설명

Dreamine.Web에서 제공할 생성 문서의 물리 경로를 찾습니다.

DocumentationPathResolver.cs 파일의 14 번째 라인에서 정의되었습니다.

멤버 함수 문서화

◆ FindSolutionDocumentation()

? string DreamineWeb.Services.DocumentationPathResolver.FindSolutionDocumentation ( string startPath)
inlinestaticprivate

시작 디렉터리부터 상위 경로를 탐색해 솔루션의 Doxygen 폴더를 찾습니다.

매개변수
startPath상위 탐색을 시작할 디렉터리입니다.
반환값
발견한 Doxygen 디렉터리 경로이며, 없으면 null입니다.

DocumentationPathResolver.cs 파일의 92 번째 라인에서 정의되었습니다.

93 {
94 DirectoryInfo? directory = new(Path.GetFullPath(startPath));
95 while (directory is not null)
96 {
97 string candidate = Path.Combine(directory.FullName, "10_DOCUMENTS", "Doxygen");
98 if (Directory.Exists(candidate))
99 return candidate;
100
101 directory = directory.Parent;
102 }
103
104 return null;
105 }

다음에 의해서 참조됨 : ResolveDoxygenRoot().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ResolveDoxygenRoot()

? string DreamineWeb.Services.DocumentationPathResolver.ResolveDoxygenRoot ( IConfiguration configuration)
inlinestatic

설정값과 알려진 솔루션 위치를 순서대로 검사해 Doxygen 출력 루트를 반환합니다.

매개변수
configurationDocumentation:DoxygenRoot 설정을 제공하는 구성입니다.
반환값
존재하는 Doxygen 출력 디렉터리의 절대 경로이며, 찾지 못하면 null입니다.
예외
ArgumentNullExceptionconfigurationnull인 경우 발생합니다.

DocumentationPathResolver.cs 파일의 48 번째 라인에서 정의되었습니다.

49 {
50 ArgumentNullException.ThrowIfNull(configuration);
51
52 string? configuredPath = configuration["Documentation:DoxygenRoot"];
53 if (!string.IsNullOrWhiteSpace(configuredPath))
54 {
55 string absolutePath = Path.GetFullPath(configuredPath);
56 if (Directory.Exists(absolutePath))
57 return absolutePath;
58 }
59
60 string packagedPath = Path.Combine(AppContext.BaseDirectory, "Doxygen");
61 if (Directory.Exists(packagedPath))
62 return packagedPath;
63
64 return FindSolutionDocumentation(Directory.GetCurrentDirectory())
65 ?? FindSolutionDocumentation(AppContext.BaseDirectory);
66 }

다음을 참조함 : FindSolutionDocumentation().

다음에 의해서 참조됨 : DreamineWeb.Program.Main().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: