WeddingPlatform.Web 1.0.0.0
지도, 갤러리, 방명록, 계좌 안내와 배경음악을 링크 하나에 담는 무료 모바일 청첩장 서비스입니다.
로딩중...
검색중...
일치하는것 없음
WeddingPlatform.Services.WeddingOptions 클래스 참조sealed

더 자세히 ...

정적 Public 멤버 함수

static WeddingOptions From (IConfiguration configuration)

속성

string DataPath = "" [get, set]
string SuperAdminPassword = "v1.600000.1oy6GjdnZFCRZpxUY6R4tQ==.1r45CdqBw/2U22r0bF9KwzdIfyCVkkRt/VcoAg19LrQ=" [get, set]
string AtlanAuthKey = "" [get, set]
string TmapAppKey = "" [get, set]
string ResolvedDataPath [get]

정적 Private 멤버 함수

static ? string TryFindSourceDataPath ()

상세한 설명

Wedding Options 기능과 관련 상태를 캡슐화합니다.

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

멤버 함수 문서화

◆ From()

WeddingOptions WeddingPlatform.Services.WeddingOptions.From ( IConfiguration configuration)
inlinestatic

From 작업을 수행합니다.

매개변수
configurationconfiguration에 사용할 IConfiguration 값입니다.
반환값
From 작업에서 생성한 WeddingOptions 결과입니다.

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

103 {
104 var opts = new WeddingOptions();
105 configuration.GetSection("Wedding").Bind(opts);
106 return opts;
107 }

다음에 의해서 참조됨 : WeddingPlatform.Program.Run().

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

◆ TryFindSourceDataPath()

? string WeddingPlatform.Services.WeddingOptions.TryFindSourceDataPath ( )
inlinestaticprivate

Find Source Data Path 작업을 시도하고 성공 여부를 반환합니다.

반환값
Try Find Source Data Path 작업에서 생성한 string? 결과입니다.

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

126 {
127 var dir = new DirectoryInfo(AppContext.BaseDirectory);
128 while (dir is not null)
129 {
130 var candidate = Path.Combine(dir.FullName, "App_Data", "Wedding");
131 if (Directory.Exists(candidate) && File.Exists(Path.Combine(dir.FullName, "WeddingPlatform.Web.csproj")))
132 {
133 return candidate;
134 }
135
136 dir = dir.Parent;
137 }
138
139 return null;
140 }

속성 문서화

◆ AtlanAuthKey

string WeddingPlatform.Services.WeddingOptions.AtlanAuthKey = ""
getset

Atlan Auth Key 값을 가져오거나 설정합니다.

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

42{ get; set; } = "";

◆ DataPath

string WeddingPlatform.Services.WeddingOptions.DataPath = ""
getset

Data Path 값을 가져오거나 설정합니다.

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

24{ get; set; } = "";

◆ ResolvedDataPath

string WeddingPlatform.Services.WeddingOptions.ResolvedDataPath
get

Resolved Data Path 값을 가져옵니다.

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

62 {
63 get
64 {
65 if (string.IsNullOrWhiteSpace(DataPath))
66 {
67 var outputDataPath = Path.Combine(AppContext.BaseDirectory, "App_Data", "Wedding");
68 var sourceDataPath = TryFindSourceDataPath();
69 return sourceDataPath ?? outputDataPath;
70 }
71
72 return Path.IsPathRooted(DataPath)
73 ? DataPath
74 : Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, DataPath));
75 }
76 }

다음에 의해서 참조됨 : WeddingPlatform.Services.JsonGlobalSettingsStore.JsonGlobalSettingsStore(), WeddingPlatform.Services.JsonTenantStore.JsonTenantStore().

◆ SuperAdminPassword

string WeddingPlatform.Services.WeddingOptions.SuperAdminPassword = "v1.600000.1oy6GjdnZFCRZpxUY6R4tQ==.1r45CdqBw/2U22r0bF9KwzdIfyCVkkRt/VcoAg19LrQ="
getset

Super Admin Password 값을 가져오거나 설정합니다.

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

33{ get; set; } = "v1.600000.1oy6GjdnZFCRZpxUY6R4tQ==.1r45CdqBw/2U22r0bF9KwzdIfyCVkkRt/VcoAg19LrQ=";

◆ TmapAppKey

string WeddingPlatform.Services.WeddingOptions.TmapAppKey = ""
getset

Tmap App Key 값을 가져오거나 설정합니다.

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

51{ get; set; } = "";

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