{"id":42907,"date":"2024-11-13T22:28:10","date_gmt":"2024-11-13T22:28:10","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=42907"},"modified":"2024-11-26T06:34:30","modified_gmt":"2024-11-26T06:34:30","slug":"mvvm-5-mvvm%ea%b3%bc-net-6-7%ec%97%90%ec%84%9c%ec%9d%98-%ec%b5%9c%ec%8b%a0-wpf-%ea%b8%b0%eb%8a%a5-%ed%86%b5%ed%95%a9-%ec%b5%9c%ec%8b%a0-c-%ec%96%b8%ec%96%b4-%ea%b8%b0%eb%8a%a5-nullable-reference","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/42907\/","title":{"rendered":"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9"},"content":{"rendered":"<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \uc5b8\uc5b4 \uae30\ub2a5\ub4e4\uacfc MVVM (Model-View-ViewModel) \ud328\ud134\uc744 \uacb0\ud569\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub300\ud574 \ub17c\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. <strong>.NET 6\/7<\/strong>\uc758 \uc2dc\ub300\uc5d0 \uc6b0\ub9ac\ub294 \uac01\uc885 \uae30\ub2a5\ub4e4\uc744 \ub354\uc6b1 \ud6a8\uc728\uc801\uc73c\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, MVVM \ud328\ud134\uc744 \ud1b5\ud574 \uc544\ud0a4\ud14d\ucc98\uc758 \uccad\uacb0\ud568\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. MVVM \uac1c\uc694<\/h2>\n<p>MVVM \ud328\ud134\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uc138 \uac00\uc9c0 \uc8fc\uc694 \ucef4\ud3ec\ub10c\ud2b8\ub85c \ub098\ub215\ub2c8\ub2e4: Model, View, ViewModel.<\/p>\n<ul>\n<li><strong>Model<\/strong>: \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uacfc \ub370\uc774\ud130\ub97c \ub2f4\ub2f9\ud569\ub2c8\ub2e4. \uc774 \ubd80\ubd84\uc740 UI\uc640 \ub3c5\ub9bd\uc801\uc785\ub2c8\ub2e4.<\/li>\n<li><strong>View<\/strong>: \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud45c\uc2dc\ub418\ub294 UI \uad6c\uc131 \uc694\uc18c\uc785\ub2c8\ub2e4. WPF\uc5d0\uc11c\ub294 XAML\ub85c \uc815\uc758\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>ViewModel<\/strong>: Model\uacfc View \uac04\uc758 \uc5f0\uacb0 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. View\uc5d0 \ubc14\uc778\ub529\ud560 \uc218 \uc788\ub294 \ub370\uc774\ud130\ub97c \uc81c\uacf5\ud558\uba70, \ubdf0\uc5d0\uc11c \ubc1c\uc0dd\ud55c \uc774\ubca4\ud2b8\ub97c \ucc98\ub9ac\ud558\uc5ec Model\uc744 \uc5c5\ub370\uc774\ud2b8\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. .NET 6\/7\uc758 \uae30\ub2a5<\/h2>\n<p>.NET 6\/7\uc740 \uc0c8\ub85c\uc6b4 \uae30\ub2a5\uacfc \uc131\ub2a5 \uac1c\uc120\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788, C# 10 \ubc0f 11\uc5d0\uc11c\ub294 \ub2e4\uc591\ud55c \uc2e0\uae30\ub2a5\ub4e4\uc774 \ucd94\uac00\ub418\uc5c8\uace0, MVVM \ud328\ud134\uc740 \uc774\ub7ec\ud55c \uae30\ub2a5\uc744 \ucd5c\ub300\ud55c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1. Nullable Reference Types<\/h3>\n<p>C# 8.0\ubd80\ud130 \uc9c0\uc6d0\ub418\ub294 <strong>Nullable Reference Types<\/strong>\ub294 \ucf54\ub4dc\uc758 \uc548\uc804\uc131\uc744 \ub192\uc774\ub294 \ub370 \ub3c4\uc6c0\uc744 \uc90d\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc740 \uac1d\uccb4\uac00 null\uc774 \ub420 \uc218 \uc788\ub294\uc9c0\ub97c \uba85\uc2dc\uc801\uc73c\ub85c \ub098\ud0c0\ub0b4\uba70, \uc774\ub97c \ud1b5\ud574 NRE(Null Reference Exception) \uac19\uc740 \uc2e4\uc218\ub97c \ud53c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>csharp\npublic class User\n{\n    public string? Name { get; set; }\n    public string Email { get; set; } = \"default@example.com\"; \/\/ null\uc774 \uc544\ub2d8\n}\n<\/code><\/pre>\n<h3>2.2. Records<\/h3>\n<p><strong>Records<\/strong>\ub294 \ub370\uc774\ud130 \uc804\uc1a1 \uac1d\uccb4(DTO)\uc5d0 \uc801\ud569\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ub370\uc774\ud130\uc758 \ubd88\ubcc0\uc131\uc744 \uae30\ubcf8\uc73c\ub85c \ud558\uba70, \uac12 \ube44\uad50\uc640 \uac19\uc740 \uae30\ub2a5\uc774 \uac04\ud3b8\ud574\uc9d1\ub2c8\ub2e4. MVVM \ud328\ud134\uc5d0\uc11c Model\uc744 \uc815\uc758\ud560 \ub54c \uc720\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>csharp\npublic record Person(string FirstName, string LastName);\n<\/code><\/pre>\n<h2>3. MVVM\uacfc Nullable Reference Types \ud1b5\ud569<\/h2>\n<p>MVVM \ud328\ud134\uc744 \uc0ac\uc6a9\ud560 \ub54c, ViewModel\uc5d0\uc11c Nullable Reference Types\ub97c \ud65c\uc6a9\ud558\uba74 \ub370\uc774\ud130 \ubc14\uc778\ub529\uc774 \ub354\uc6b1 \uc548\uc804\ud574\uc9d1\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, ViewModel\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc758 \uc785\ub825\uc744 \ubc1b\uc744 \ub54c, Nullable\uc744 \ud1b5\ud574 \uc785\ub825\uac12\uc758 \uc720\ud6a8\uc131\uc744 \uac80\uc0ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>csharp\npublic class UserViewModel : INotifyPropertyChanged\n{\n    private string? _name;\n    public string? Name\n    {\n        get =&gt; _name;\n        set\n        {\n            _name = value;\n            OnPropertyChanged();\n        }\n    }\n}\n<\/code><\/pre>\n<h2>4. MVVM\uacfc Records \ud1b5\ud569<\/h2>\n<p>Records\ub97c \ud65c\uc6a9\ud558\uba74 \ub370\uc774\ud130\ub97c \ub354\uc6b1 \uc27d\uac8c \ub2e4\ub8f0 \uc218 \uc788\uc2b5\ub2c8\ub2e4. ViewModel\uc5d0\uc11c ObservableCollection\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ub97c \uc800\uc7a5\ud558\uace0, \uc774 \ub370\uc774\ud130\ub97c View\uc5d0 \ubc14\uc778\ub529\ud558\ub294 \uc608\uc81c\ub97c \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>csharp\npublic class UserViewModel : INotifyPropertyChanged\n{\n    public ObservableCollection&lt;Person&gt; Users { get; set; }\n\n    public UserViewModel()\n    {\n        Users = new ObservableCollection&lt;Person&gt;()\n        {\n            new Person(\"John\", \"Doe\"),\n            new Person(\"Jane\", \"Doe\")\n        };\n    }\n}\n<\/code><\/pre>\n<h2>5. WPF\uc5d0\uc11c\uc758 \ub370\uc774\ud130 \ubc14\uc778\ub529<\/h2>\n<p>WPF\ub294 \ub370\uc774\ud130 \ubc14\uc778\ub529\uc744 \ud1b5\ud574 View\uc640 ViewModel \uac04\uc758 \uc5f0\uacb0\uc744 \uc27d\uac8c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. ViewModel\uc758 \uc18d\uc131\uacfc View\uc758 UI \uc694\uc18c\ub97c \ubc14\uc778\ub529\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>xaml\n<!-- MainWindow.xaml -->\n<window height=\"350\" title=\"MVVM Example\" width=\"525\" x:class=\"WpfApp.MainWindow\" xmlns=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\/presentation\" xmlns:x=\"http:\/\/schemas.microsoft.com\/winfx\/2006\/xaml\">\n    <grid>\n        <listbox itemssource=\"{Binding Users}\">\n            <listbox.itemtemplate>\n                <datatemplate>\n                    <textblock text=\"{Binding FirstName}\"><\/textblock>\n                <\/datatemplate>\n            <\/listbox.itemtemplate>\n        <\/listbox>\n    <\/grid>\n<\/window>\n<\/code><\/pre>\n<h2>6. MVVM\uacfc \ucd5c\uc2e0 C# \uae30\ub2a5 \uc870\ud569\ud558\uae30<\/h2>\n<p>\ucd5c\uc2e0 C# \uae30\ub2a5\uacfc MVVM \ud328\ud134\uc744 \uacb0\ud569\ud558\uba74 \ub354\uc6b1 \uac04\uacb0\ud558\uace0 \uc720\uc9c0 \ubcf4\uc218\ud558\uae30 \uc26c\uc6b4 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uae30\ub2a5\ub4e4\uc744 \ud65c\uc6a9\ud558\uc5ec \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc744 \ub354\uc6b1 \uc798 \ubd84\ub9ac\ud560 \uc218 \uc788\uc73c\uba70, UI\uc640\uc758 \uc885\uc18d\uc131\uc744 \ub0ae\ucd9c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>csharp\npublic class UserService\n{\n    public IEnumerable&lt;Person&gt; GetUsers()\n    {\n        return new List&lt;Person&gt;()\n        {\n            new Person(\"Alice\", \"Wonderland\"),\n            new Person(\"Bob\", \"Builder\")\n        };\n    }\n}\n\npublic class MainViewModel : INotifyPropertyChanged\n{\n    private readonly UserService _userService;\n    public ObservableCollection&lt;Person&gt; Users { get; private set; }\n\n    public MainViewModel(UserService userService)\n    {\n        _userService = userService;\n        Users = new ObservableCollection&lt;Person&gt;(_userService.GetUsers());\n    }\n}\n<\/code><\/pre>\n<h2>7. \uacb0\ub860<\/h2>\n<p>MVVM \ud328\ud134\uc740 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ucf54\ub4dc\ub97c \uad6c\uc870\uc801\uc73c\ub85c \uac1c\uc120\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. .NET 6\/7\uc5d0\uc11c\ub294 \ucd5c\uc2e0 C# \uae30\ub2a5\ub4e4\uacfc \ud568\uaed8 MVVM\uc744 \ud1b5\ud569\ud558\uba74 \ub354\uc6b1 \uc548\uc815\uc801\uc774\uace0 \uc720\uc9c0 \ubcf4\uc218\uac00 \uc6a9\uc774\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Nullable Reference Types\uc640 Records\ub294 \uc774\ub7ec\ud55c \uac1c\ubc1c \ubc29\uc2dd\uc744 \uc9c0\uc6d0\ud558\uc5ec, \ucf54\ub4dc\uc758 \uba85\ud655\uc131\uacfc \uc548\uc804\uc131\uc744 \ub192\uc774\ub294 \ub370 \uae30\uc5ec\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc774 \uae00\uc744 \ud1b5\ud574 \ucd5c\uc2e0 C# \uc804\uccb4 \uae30\ub2a5\uacfc MVVM \ud328\ud134\uc744 \ud65c\uc6a9\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub3c4\uc6c0\uc774 \ub418\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \uc5b8\uc5b4 \uae30\ub2a5\ub4e4\uacfc MVVM (Model-View-ViewModel) \ud328\ud134\uc744 \uacb0\ud569\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub300\ud574 \ub17c\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. .NET 6\/7\uc758 \uc2dc\ub300\uc5d0 \uc6b0\ub9ac\ub294 \uac01\uc885 \uae30\ub2a5\ub4e4\uc744 \ub354\uc6b1 \ud6a8\uc728\uc801\uc73c\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, MVVM \ud328\ud134\uc744 \ud1b5\ud574 \uc544\ud0a4\ud14d\ucc98\uc758 \uccad\uacb0\ud568\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. MVVM \uac1c\uc694 MVVM \ud328\ud134\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uc138 \uac00\uc9c0 \uc8fc\uc694 \ucef4\ud3ec\ub10c\ud2b8\ub85c \ub098\ub215\ub2c8\ub2e4: Model, View, ViewModel. Model: \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uacfc &hellip; <a href=\"https:\/\/atmokpo.com\/w\/42907\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-42907","post","type-post","status-publish","format-standard","hentry","category-wpf-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/42907\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \uc5b8\uc5b4 \uae30\ub2a5\ub4e4\uacfc MVVM (Model-View-ViewModel) \ud328\ud134\uc744 \uacb0\ud569\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub300\ud574 \ub17c\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. .NET 6\/7\uc758 \uc2dc\ub300\uc5d0 \uc6b0\ub9ac\ub294 \uac01\uc885 \uae30\ub2a5\ub4e4\uc744 \ub354\uc6b1 \ud6a8\uc728\uc801\uc73c\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, MVVM \ud328\ud134\uc744 \ud1b5\ud574 \uc544\ud0a4\ud14d\ucc98\uc758 \uccad\uacb0\ud568\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. MVVM \uac1c\uc694 MVVM \ud328\ud134\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uc138 \uac00\uc9c0 \uc8fc\uc694 \ucef4\ud3ec\ub10c\ud2b8\ub85c \ub098\ub215\ub2c8\ub2e4: Model, View, ViewModel. Model: \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uacfc &hellip; \ub354 \ubcf4\uae30 &quot;[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/42907\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-13T22:28:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:34:30+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/42907\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42907\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9\",\"datePublished\":\"2024-11-13T22:28:10+00:00\",\"dateModified\":\"2024-11-26T06:34:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42907\/\"},\"wordCount\":94,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"WPF \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/42907\/\",\"url\":\"https:\/\/atmokpo.com\/w\/42907\/\",\"name\":\"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-13T22:28:10+00:00\",\"dateModified\":\"2024-11-26T06:34:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42907\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/42907\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/42907\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/42907\/","og_locale":"ko_KR","og_type":"article","og_title":"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 C#\uc758 \ucd5c\uc2e0 \uc5b8\uc5b4 \uae30\ub2a5\ub4e4\uacfc MVVM (Model-View-ViewModel) \ud328\ud134\uc744 \uacb0\ud569\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0 \ub300\ud574 \ub17c\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4. .NET 6\/7\uc758 \uc2dc\ub300\uc5d0 \uc6b0\ub9ac\ub294 \uac01\uc885 \uae30\ub2a5\ub4e4\uc744 \ub354\uc6b1 \ud6a8\uc728\uc801\uc73c\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, MVVM \ud328\ud134\uc744 \ud1b5\ud574 \uc544\ud0a4\ud14d\ucc98\uc758 \uccad\uacb0\ud568\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \uadf9\ub300\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. 1. MVVM \uac1c\uc694 MVVM \ud328\ud134\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uc138 \uac00\uc9c0 \uc8fc\uc694 \ucef4\ud3ec\ub10c\ud2b8\ub85c \ub098\ub215\ub2c8\ub2e4: Model, View, ViewModel. Model: \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uacfc &hellip; \ub354 \ubcf4\uae30 \"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9\"","og_url":"https:\/\/atmokpo.com\/w\/42907\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-13T22:28:10+00:00","article_modified_time":"2024-11-26T06:34:30+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/42907\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/42907\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9","datePublished":"2024-11-13T22:28:10+00:00","dateModified":"2024-11-26T06:34:30+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/42907\/"},"wordCount":94,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["WPF \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/42907\/","url":"https:\/\/atmokpo.com\/w\/42907\/","name":"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-13T22:28:10+00:00","dateModified":"2024-11-26T06:34:30+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/42907\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/42907\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/42907\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[MVVM] 5.MVVM\uacfc .NET 6 7\uc5d0\uc11c\uc758 \ucd5c\uc2e0 WPF \uae30\ub2a5 \ud1b5\ud569, \ucd5c\uc2e0 C# \uc5b8\uc5b4 \uae30\ub2a5 (Nullable Reference Types, Records \ub4f1)\uacfc MVVM \uc5f0\ub3d9"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=42907"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42907\/revisions"}],"predecessor-version":[{"id":42908,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42907\/revisions\/42908"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=42907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=42907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=42907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}