Codemaru 1.0.0.0
QR 코드, 모바일 랜딩 페이지, vCard 연락처 저장과 명함 디자인을 한 화면에서 제공하는 디지털 명함 서비스입니다.
로딩중...
검색중...
일치하는것 없음
Codemaru.Models 네임스페이스 참조

네임스페이스

namespace  Certificates

클래스

class  FfmpegOptions
class  StreamConfig

함수

record CardHistoryEntry (Guid Id, CardProfile Profile, string LandingUrl, string QrPayload, DateTime CreatedAt)
record CardHybridSnapshot (string? UserId, CardProfile Profile, IReadOnlyList< CardHistoryEntry > History, DateTime SavedAt)
record CardHybridUser (string Id, string Email, string DisplayName, DateTime SignedInAt)
record CardProfile (string Brand, string Tagline, string BackBrand, string BackTagline, string Category, string Name, string Role, string Email, string Phone, string Address, string Website, string LandingSlug, string AccentColor, string ShortBio, string LandingDescription, string VCardNote, string InternalMemo, string? LogoImageDataUrl, bool RemoveLogoBackground, double CardWidthMm, double CardHeightMm, string FrontFontFamily, string BackFontFamily, double FrontBrandFontSize, double FrontTaglineFontSize, double FrontCategoryFontSize, double FrontEmailFontSize, double BackBrandFontSize, double BackTaglineFontSize, double BackNameFontSize, double BackRoleFontSize, string LandingTheme, bool IncludePhoneInVCard, bool IncludeAddressInVCard, string? ImportedFrontImageDataUrl, string? ImportedBackImageDataUrl)

함수 문서화

◆ CardHistoryEntry()

record Codemaru.Models.CardHistoryEntry ( Guid Id,
CardProfile Profile,
string LandingUrl,
string QrPayload,
DateTime CreatedAt )
sealed

Card History Entry 기능과 관련 상태를 캡슐화합니다.

다음을 참조함 : CardProfile().

다음에 의해서 참조됨 : Codemaru.Services.CardHybridCircuitSession.ClearHistory(), Codemaru.Services.CardHybridCircuitSession.LoadHistory(), Codemaru.Services.CardHybridCircuitSession.SaveCurrent(), Codemaru.Services.CardHybridCircuitSession.UpdateHistory().

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

◆ CardHybridSnapshot()

record Codemaru.Models.CardHybridSnapshot ( string? UserId,
CardProfile Profile,
IReadOnlyList< CardHistoryEntry > History,
DateTime SavedAt )
sealed

◆ CardHybridUser()

record Codemaru.Models.CardHybridUser ( string Id,
string Email,
string DisplayName,
DateTime SignedInAt )
sealed

CardHybrid 세션의 현재 사용자입니다.

인증 자체는 상위 OAuth 계층 (Cookies + Google/Naver) 이 담당하고 CardHybrid 세션은 그 결과를 이 값으로 표현합니다.

로그인되지 않은 익명 사용자입니다.

이 사용자가 익명(Guest) 인지 여부입니다.

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

24{
33 public static CardHybridUser Guest { get; } = new(
34 Id: "guest",
35 Email: string.Empty,
36 DisplayName: "Guest",
37 SignedInAt: DateTime.MinValue);
38
47 public bool IsGuest =>
48 string.Equals(Id, Guest.Id, StringComparison.OrdinalIgnoreCase);
49}
record CardHybridUser(string Id, string Email, string DisplayName, DateTime SignedInAt)

다음을 참조함 : CardHybridUser().

다음에 의해서 참조됨 : Codemaru.Services.CardHybridCircuitSession.ApplyUserAsync(), CardHybridUser(), Codemaru.Services.JsonCardProfileStore.IsGuest(), Codemaru.Services.CardHybridCircuitSession.MapPrincipalToUser(), Codemaru.Services.CardLandingPath.NormalizeForTenant(), Codemaru.Services.CardLandingPath.TenantSlug().

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

◆ CardProfile()

record Codemaru.Models.CardProfile ( string Brand,
string Tagline,
string BackBrand,
string BackTagline,
string Category,
string Name,
string Role,
string Email,
string Phone,
string Address,
string Website,
string LandingSlug,
string AccentColor,
string ShortBio,
string LandingDescription,
string VCardNote,
string InternalMemo,
string? LogoImageDataUrl,
bool RemoveLogoBackground,
double CardWidthMm,
double CardHeightMm,
string FrontFontFamily,
string BackFontFamily,
double FrontBrandFontSize,
double FrontTaglineFontSize,
double FrontCategoryFontSize,
double FrontEmailFontSize,
double BackBrandFontSize,
double BackTaglineFontSize,
double BackNameFontSize,
double BackRoleFontSize,
string LandingTheme,
bool IncludePhoneInVCard,
bool IncludeAddressInVCard,
string? ImportedFrontImageDataUrl,
string? ImportedBackImageDataUrl )
sealed

Card Profile 기능과 관련 상태를 캡슐화합니다.

Default 값을 가져옵니다.

Landing Url 값을 가져옵니다.

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

48{
57 public static CardProfile Default { get; } = new(
58 Brand: "Dreamine",
59 Tagline: "Modular Automation Framework",
60 BackBrand: "Codemaru",
61 BackTagline: "Agri-Tech & Automation Platform",
62 Category: $"Industrial Automation{Environment.NewLine}AI · Smart Farm · Agri-Tech",
63 Name: "장민수",
64 Role: "Founder & CTO",
65 Email: "togood1983@gmail.com",
66 Phone: "+8210-XXXX-XXXX",
67 Address: "충청남도 청양군 남양면 XXXX XX-XX 코드마루 빌딩",
68 Website: "https://codemaru.co.kr",
69 LandingSlug: "card/minsu",
70 AccentColor: "#5d7f57",
71
72 ShortBio: "Founder & CTO of CodeMaru",
73 LandingDescription: "Building Dreamine, a modular automation framework for industrial automation, AI, smart farm, and agri-tech solutions.",
74 VCardNote: "CodeMaru / Dreamine business profile",
75 InternalMemo: "Primary public profile for personal business card landing page.",
76
77 LogoImageDataUrl: null,
78 RemoveLogoBackground: false,
79 CardWidthMm: 90,
80 CardHeightMm: 50,
81 FrontFontFamily: "Segoe UI",
82 BackFontFamily: "Segoe UI",
83 FrontBrandFontSize: 28,
84 FrontTaglineFontSize: 17,
85 FrontCategoryFontSize: 18,
86 FrontEmailFontSize: 14,
87 BackBrandFontSize: 22,
88 BackTaglineFontSize: 14,
89 BackNameFontSize: 16,
90 BackRoleFontSize: 14,
91 LandingTheme: "light",
92 IncludePhoneInVCard: false,
93 IncludeAddressInVCard: false,
94 ImportedFrontImageDataUrl: null,
95 ImportedBackImageDataUrl: null);
96
105 public string LandingUrl
106 {
107 get
108 {
109 var website = string.IsNullOrWhiteSpace(Website)
110 ? "https://dreamine.local/card"
111 : Website.Trim().TrimEnd('/');
112
113 if (string.IsNullOrWhiteSpace(LandingSlug))
114 {
115 return website;
116 }
117
118 var slug = LandingSlug.Trim().Trim('/').Replace(" ", "-", StringComparison.Ordinal);
119
120 return website.EndsWith($"/{slug}", StringComparison.OrdinalIgnoreCase)
121 ? website
122 : $"{website}/{slug}";
123 }
124 }
125}
record CardProfile(string Brand, string Tagline, string BackBrand, string BackTagline, string Category, string Name, string Role, string Email, string Phone, string Address, string Website, string LandingSlug, string AccentColor, string ShortBio, string LandingDescription, string VCardNote, string InternalMemo, string? LogoImageDataUrl, bool RemoveLogoBackground, double CardWidthMm, double CardHeightMm, string FrontFontFamily, string BackFontFamily, double FrontBrandFontSize, double FrontTaglineFontSize, double FrontCategoryFontSize, double FrontEmailFontSize, double BackBrandFontSize, double BackTaglineFontSize, double BackNameFontSize, double BackRoleFontSize, string LandingTheme, bool IncludePhoneInVCard, bool IncludeAddressInVCard, string? ImportedFrontImageDataUrl, string? ImportedBackImageDataUrl)

다음을 참조함 : CardProfile().

다음에 의해서 참조됨 : Codemaru.Services.LandingPagePublisher.BuildPublicUrl(), CardHistoryEntry(), Codemaru.Services.CardHybridCircuitSession.CardHybridCircuitSession(), CardHybridSnapshot(), CardProfile(), Codemaru.Services.CardProfileImporter.ImportVCard(), Codemaru.Services.CardHybridSession.InitializeAsync(), Codemaru.Services.CardHybridCircuitSession.LoadSnapshot(), Codemaru.Services.LandingPagePublisher.PublishIndexAsync(), Codemaru.Services.CardHybridCircuitSession.UpdateHistory(), Codemaru.Services.CardHybridCircuitSession.UpdateProfile(), Codemaru.Services.LandingPagePublisher.WriteAsync().

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