enum Season { Spring, Summer, Autumn, Winter } enum ErrorCode : ushort { None = 0, Unknown = 1, ConnectionLost = 100, OutlierReading = 200 } enum 과 switch 문 활용 예) public enum WhiteIpRequestState { NoRequest = 0, Requested = 1, Approved = 2, Rejected = 3 } WhiteIpRequestState whiteIpRequestState = ... switch(whiteIpRequestState) { case WhiteIpRequestState.NoRequest: case WhiteIpRequestState.Rejec..
Enter your name: Enter your email: The HTML element represents a document section containing interactive controls for submitting information. action The URL that processes the form submission. This value can be overridden by a formaction attribute on a , , or element. This attribute is ignored when method="dialog" is set. enctype If the value of the method attribute is post, enctype is the MIME ..
📌ViewBag Gets the dynamic view data dictionary. Property Value Object The dynamic view data dictionary. // in Controller public ActionResult Index() { List colors = new List(); colors.Add("red"); colors.Add("green"); colors.Add("blue"); ViewBag.ListColors = colors; //colors is List ViewBag.DateNow = DateTime.Now; ViewBag.Name = "Hajan"; ViewBag.Age = 25; return View(); } // in View 📌ViewData Get..
IActionFilter ? action의 실행과 관련된 필터입니다. OnActionExcuted ? "action"을 실행한 후 "action" 결과 전에 호출됩니다. OnActionExcuting ? 모델 바인딩이 완료된 후 "action"이 실행되기 전에 호출됩니다. 활용 1) public class ActionFilter : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext filterContext) { // 로그인 여부 체크 및 권한 체크와 같은 다양한 로직을 적용 할 수 있다. // filterContext.Result = new RedirectResult(Url); var controlle..
A type of view that generates views from an underlying collection of data. func onDelete(perform: Optional Void>) -> some DynamicViewContent Sets the deletion action for the dynamic view. func onInsert(of: [UTType], perform: (Int, [NSItemProvider]) -> Void) -> some DynamicViewContent Sets the insert action for the dynamic view. func onMove(perform: Optional Void>) -> some DynamicViewContent Sets..
A structure that computes views on demand from an underlying collection of identified data. private struct NamedFont: Identifiable { let name: String let font: Font var id: String { name } } private let namedFonts: [NamedFont] = [ NamedFont(name: "Large Title", font: .largeTitle), NamedFont(name: "Title", font: .title), NamedFont(name: "Headline", font: .headline), NamedFont(name: "Body", font: ..
- Total
- Today
- Yesterday
- .submit()
- Task
- 공백제거
- mssql
- system.io
- 명령어
- 제품 등록
- FileUpload
- await
- trim
- 아이폰
- In App Purchase
- 특정 문자를 기준으로 자르기
- nl2br
- System.Diagnostics
- async
- hyper-v
- App Store
- MainActor
- html tag
- 앱 스토어
- 진수 변환
- 상품 등록
- 문자 자르기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |