{"id":43253,"date":"2024-11-26T12:26:29","date_gmt":"2024-11-26T12:26:29","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=43253"},"modified":"2024-11-26T12:26:29","modified_gmt":"2024-11-26T12:26:29","slug":"prism-010-prism%ec%9d%98-%ed%95%b5%ec%8b%ac-%ea%b5%ac%ec%84%b1-%ec%9a%94%ec%86%8c-%ec%9d%98%ec%a1%b4%ec%84%b1-%ec%a3%bc%ec%9e%85-dependency-injection%ec%9d%98-%ea%b5%ac%ed%98%84","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/43253\/","title":{"rendered":"[Prism]  010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604"},"content":{"rendered":"<p>WPF(Windows Presentation Foundation)\ub294 Microsoft\uc758 \ub370\uc2a4\ud06c\ud0d1 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uac1c\ubc1c\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uac1c\ubc1c\uc5d0\uc11c\ub294 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \ub192\uc774\uae30 \uc704\ud574 \ub2e4\uc911 \uacc4\uce35 \uc544\ud0a4\ud14d\ucc98\uc758 \uc124\uacc4\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism\uc740 \ud2b9\ud788 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubaa8\ub4c8\ud654 \ubc0f \ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub41c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c\uc640 \uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc758 \uad6c\ud604\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uc740 \ub17c\uc758\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. Prism \uac1c\uc694<\/h2>\n<p>Prism\uc740 MVVM(Model-View-ViewModel) \ud328\ud134\uc744 \uc9c0\uc6d0\ud558\uba70, \ubaa8\ub4c8\ud654\uc640 \uc758\uc874\uc131 \uc8fc\uc785, \uc774\ubca4\ud2b8 \uc9d1\ud569 \ub4f1\uc758 \uae30\ub2a5\uc744 \ud1b5\ud574 \ub300\uaddc\ubaa8 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uac1c\ubc1c\uc744 \ub2e8\uc21c\ud654\ud569\ub2c8\ub2e4. Prism\uc740 \ub2e4\uc74c\uacfc \uac19\uc740 \uae30\ubcf8 \uad6c\uc131 \uc694\uc18c\ub85c \uc774\ub8e8\uc5b4\uc838 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>Module<\/strong>: \ub3c5\ub9bd\uc801\uc774\uace0 \uc7ac\uc0ac\uc6a9 \uac00\ub2a5\ud55c \ucf54\ub4dc \ub2e8\uc704<\/li>\n<li><strong>ViewModel<\/strong>: UI\uc640 \ub370\uc774\ud130 \ubaa8\ub378 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ub2f4\ub2f9<\/li>\n<li><strong>Service<\/strong>: \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc744 \uad6c\ud604<\/li>\n<li><strong>Region<\/strong>: View\uc758 \uc2dc\uac01\uc801 \uad6c\uc131 \uc694\uc18c\ub97c \ub098\ub204\ub294 \uc6a9\ub3c4<\/li>\n<li><strong>EventAggregator<\/strong>: \ucef4\ud3ec\ub10c\ud2b8 \uac04\uc758 loosely coupled \uc0c1\ud638\uc791\uc6a9 \uad00\ub9ac<\/li>\n<\/ul>\n<h2>2. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c<\/h2>\n<h3>2.1 Modules<\/h3>\n<p>Prism\uc758 \ubaa8\ub4c8 \uc2dc\uc2a4\ud15c\uc740 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ubaa8\ub4c8\ud654\ud558\uc5ec \uac01 \ubaa8\ub4c8\uc774 \ub3c5\ub9bd\uc801\uc73c\ub85c \uac1c\ubc1c\ub418\uace0 \ubc30\ud3ec\ub420 \uc218 \uc788\ub3c4\ub85d \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub300\uaddc\ubaa8 \uc194\ub8e8\uc158\uc744 \ub2e4\ub8f0 \ub54c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf5\uc7a1\uc131\uc744 \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>public class MyModule : IModule\n{\n    public void Initialize()\n    {\n        \/\/ \ucd08\uae30\ud654 \ucf54\ub4dc\n    }\n}\n<\/code><\/pre>\n<h3>2.2 Views<\/h3>\n<p>View\ub294 \uc0ac\uc6a9\uc790\uc5d0\uac8c \uc815\ubcf4\ub97c \ud45c\uc2dc\ud558\uace0 \uc0ac\uc6a9\uc790\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ucc98\ub9ac\ud558\ub294 UI \uad6c\uc131 \uc694\uc18c\uc785\ub2c8\ub2e4. Prism\uc5d0\uc11c\ub294 View\uc640 ViewModel\uc774 \ubd84\ub9ac\ub418\uc5b4 \uc788\uc5b4, \uac01 View\uac00 \uad00\ub828\ub41c ViewModel\uc744 \ubc14\uc778\ub529\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \uad6c\ud604\ub429\ub2c8\ub2e4.<\/p>\n<pre><code>public class MyViewModel : BindableBase\n{\n    private string _title;\n    public string Title\n    {\n        get { return _title; }\n        set { SetProperty(ref _title, value); }\n    }\n}\n<\/code><\/pre>\n<h3>2.3 ViewModel<\/h3>\n<p>ViewModel\uc740 UI\uc640 \ub370\uc774\ud130 \ubaa8\ub378 \uac04\uc758 \uc0c1\ud638\uc791\uc6a9\uc744 \ub2f4\ub2f9\ud558\uace0, \ub370\uc774\ud130\uc758 \uc0c1\ud0dc\ub97c \uc720\uc9c0\ud558\uc5ec View\uc5d0 \uc81c\uacf5\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. Prism\uc5d0\uc11c\ub294 <code>BindableBase<\/code> \ud074\ub798\uc2a4\ub97c \uc0c1\uc18d\ubc1b\uc544 \ud504\ub85c\ud37c\ud2f0 \ubcc0\uacbd \uc54c\ub9bc\uc744 \uad6c\ud604\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.4 Regions<\/h3>\n<p>Prism\uc758 Region\uc740 View\ub97c \ub3d9\uc801\uc73c\ub85c \uc0bd\uc785\ud560 \uc218 \uc788\ub294 \uc7a5\uc18c\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uac01 Region\uc740 View\ub97c \ucd94\uac00\ud558\uac70\ub098 \uc81c\uac70\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc218\ud589\ud558\uc5ec UI\ub97c \ubcf4\ub2e4 \uc720\uc5f0\ud558\uac8c \uad6c\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4.<\/p>\n<pre><code>RegionManager.RegisterViewWithRegion(\"MainRegion\", typeof(MyView));\n<\/code><\/pre>\n<h3>2.5 Event Aggregator<\/h3>\n<p>Event Aggregator\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub0b4\uc758 \ub2e4\uc591\ud55c \ucef4\ud3ec\ub10c\ud2b8 \uac04\uc5d0 \uba54\uc2dc\uc9c0\ub97c \uc804\ub2ec\ud560 \uc218 \uc788\ub294 \ubc29\ubc95\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc774\ub294 \ucef4\ud3ec\ub10c\ud2b8 \uac04\uc758 \uacb0\ud569\ub3c4\ub97c \ub0ae\ucd94\uc5b4 \uc720\uc9c0\ubcf4\uc218\uc131\uc744 \ud5a5\uc0c1\uc2dc\ud0b5\ub2c8\ub2e4.<\/p>\n<pre><code>public class MyEvent : PubSubEvent<string>\n{\n}\n<\/string><\/code><\/pre>\n<h2>3. \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)<\/h2>\n<p>\uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc740 \uac1d\uccb4 \uac04\uc758 \uc758\uc874 \uad00\uacc4\ub97c \uad6c\uc131\ud558\ub294 \ubc29\ubc95 \uc911 \ud558\ub098\ub85c, \uac1d\uccb4 \uc0dd\uc131 \uc2dc \ud544\uc694\ub85c \ud558\ub294 \uc758\uc874 \uac1d\uccb4\ub97c \uc678\ubd80\uc5d0\uc11c \uc8fc\uc785\ud558\ub294 \ud328\ud134\uc785\ub2c8\ub2e4. Prism\uc5d0\uc11c\ub294 \uc758\uc874\uc131 \uc8fc\uc785\uc744 \ud1b5\ud574 \uc720\uc9c0\ubcf4\uc218\uc131\uacfc \ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131\uc744 \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 DI\uc758 \ud544\uc694\uc131<\/h3>\n<p>DI\ub294 \ud074\ub798\uc2a4 \uac04\uc758 \uacb0\ud569\ub3c4\ub97c \uc904\uc774\uba70, \ud14c\uc2a4\ud2b8 \uac00\ub2a5\uc131\uc744 \ub192\uc785\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ud2b9\uc815 \ud074\ub798\uc2a4\uac00 \ub2e4\ub978 \ud074\ub798\uc2a4\uc758 \uc778\uc2a4\ud134\uc2a4\ub97c \uc9c1\uc811 \uc0dd\uc131\ud558\ub294 \ub300\uc2e0 \uc678\ubd80\uc5d0\uc11c \uc8fc\uc785\ubc1b\uc73c\uba74, \ud544\uc694\ud560 \ub54c \ub2e4\ub978 \uad6c\ud604\uccb4\ub85c \uc27d\uac8c \uad50\uccb4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.2 Prism\uc5d0\uc11c DI \uad6c\ud604\ud558\uae30<\/h3>\n<p>Prism\uc740 \ub2e4\uc591\ud55c DI \ucee8\ud14c\uc774\ub108\ub97c \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc5ec\uae30\uc11c\ub294 Unity \ucee8\ud14c\uc774\ub108\ub97c \uc608\ub85c \ub4e4\uc5b4 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>public class Bootstrapper : UnityBootstrapper\n{\n    protected override void ConfigureContainer()\n    {\n        base.ConfigureContainer();\n        Container.RegisterType<iservice, myservice=\"\">();\n    }\n\n    protected override void ConfigureModuleCatalog(IModuleCatalog moduleCatalog)\n    {\n        \/\/ \ubaa8\ub4c8 \uad6c\uc131\n    }\n}\n<\/iservice,><\/code><\/pre>\n<h3>3.3 DI \ucee8\ud14c\uc774\ub108 \uc124\uc815<\/h3>\n<p>\uc704\uc758 \uc608\uc81c\uc5d0\uc11c \ubcfc \uc218 \uc788\ub4ef\uc774, <code>ConfigureContainer<\/code> \uba54\uc11c\ub4dc\ub97c \uc624\ubc84\ub77c\uc774\ub4dc\ud558\uc5ec \ud544\uc694\ud55c \uc778\ud130\ud398\uc774\uc2a4\uc640 \uadf8 \uad6c\ud604\uccb4\ub97c \ub4f1\ub85d\ud569\ub2c8\ub2e4. \uc774\ub807\uac8c \ub4f1\ub85d\ub41c \uc11c\ube44\uc2a4\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc804\ubc18\uc5d0\uc11c \uc8fc\uc785\ubc1b\uc544 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.4 \uc11c\ube44\uc2a4 \uc8fc\uc785<\/h3>\n<p>\uc11c\ube44\uc2a4\ub97c \uc8fc\uc785\ud558\ub294 \ubc29\ubc95\uc740 Constructor Injection, Property Injection \ub4f1\uc758 \ubc29\ubc95\uc774 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798\ub294 Constructor Injection\uc744 \uc0ac\uc6a9\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>public class MyViewModel : BindableBase\n{\n    private readonly IService _service;\n\n    public MyViewModel(IService service)\n    {\n        _service = service;\n    }\n}\n<\/code><\/pre>\n<p>\uc704\uc758 \uc0ac\ub840\uc5d0\uc11c <code>IService<\/code>\ub97c \uc0dd\uc131\uc790 \ub9e4\uac1c\ubcc0\uc218\ub85c \ubc1b\uc544, \ud574\ub2f9 \uc778\ud130\ud398\uc774\uc2a4\uc758 \uad6c\ud604\uccb4\uac00 \uc8fc\uc785\ub429\ub2c8\ub2e4. \uc774\ub807\uac8c \ud568\uc73c\ub85c\uc368 <code>MyViewModel<\/code> \ud074\ub798\uc2a4\ub294 \ud2b9\uc815 \uad6c\ud604\uc5d0 \uc758\uc874\ud558\uc9c0 \uc54a\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<h2>4. \uacb0\ub860<\/h2>\n<p>Prism\uc740 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uad6c\uc870\ub97c \uccb4\uacc4\uc801\uc73c\ub85c \uc124\uacc4\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ubaa8\ub4c8\ud654, MVVM \ud328\ud134, \uc758\uc874\uc131 \uc8fc\uc785\uacfc \uac19\uc740 \uae30\ub2a5\uc744 \ud1b5\ud574 \ubcf5\uc7a1\uc131\uc744 \ub0ae\ucd94\uace0 \uc720\uc9c0 \ubcf4\uc218\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c \ub17c\uc758\ub41c \ud575\uc2ec \uad6c\uc131 \uc694\uc18c\uc640 \uc758\uc874\uc131 \uc8fc\uc785\uc758 \uad6c\ud604\uc740 Prism\uc744 \ud65c\uc6a9\ud55c WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc5d0\uc11c \uc911\uc694\ud55c \uc694\uc18c\uac00 \ub420 \uac83\uc785\ub2c8\ub2e4. \uac1c\ubc1c\uc790\ub294 \uc774\ub7ec\ud55c \uc694\uc18c\ub4e4\uc744 \uc774\ud574\ud558\uace0 \ud65c\uc6a9\ud568\uc73c\ub85c\uc368 \ub354 \ub098\uc740 \uad6c\uc870\uc640 \ud488\uc9c8\uc744 \uac00\uc9c4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud560 \uc218 \uc788\uc744 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<p>\uc774\uc81c Prism\uc744 \ud1b5\ud574 \ub354 \uc548\uc815\uc801\uc774\uace0 \uad00\ub9ac\ud558\uae30 \uc26c\uc6b4 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud560 \uc900\ube44\uac00 \ub418\uc168\ub098\uc694? \ub2e4\uc591\ud55c Dian \ucee8\ud14c\uc774\ub108\uc640 &#8216;Prism&#8217;\uc758 \ucd5c\uc2e0 \ubc84\uc804\uc744 \uc2e4\uc2b5\ud558\uc2dc\uba74\uc11c \uc9c1\uc811 \uccb4\ud5d8\ud558\uc2dc\ub294 \uac83\uc744 \ucd94\ucc9c\ud569\ub2c8\ub2e4. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>WPF(Windows Presentation Foundation)\ub294 Microsoft\uc758 \ub370\uc2a4\ud06c\ud0d1 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uac1c\ubc1c\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uac1c\ubc1c\uc5d0\uc11c\ub294 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \ub192\uc774\uae30 \uc704\ud574 \ub2e4\uc911 \uacc4\uce35 \uc544\ud0a4\ud14d\ucc98\uc758 \uc124\uacc4\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism\uc740 \ud2b9\ud788 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubaa8\ub4c8\ud654 \ubc0f \ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub41c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c\uc640 \uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc758 \uad6c\ud604\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uc740 \ub17c\uc758\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Prism &hellip; <a href=\"https:\/\/atmokpo.com\/w\/43253\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[Prism]  010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604&#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-43253","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>[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604 - \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\/43253\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"WPF(Windows Presentation Foundation)\ub294 Microsoft\uc758 \ub370\uc2a4\ud06c\ud0d1 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uac1c\ubc1c\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uac1c\ubc1c\uc5d0\uc11c\ub294 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \ub192\uc774\uae30 \uc704\ud574 \ub2e4\uc911 \uacc4\uce35 \uc544\ud0a4\ud14d\ucc98\uc758 \uc124\uacc4\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism\uc740 \ud2b9\ud788 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubaa8\ub4c8\ud654 \ubc0f \ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub41c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c\uc640 \uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc758 \uad6c\ud604\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uc740 \ub17c\uc758\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Prism &hellip; \ub354 \ubcf4\uae30 &quot;[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/43253\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-26T12:26:29+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\/43253\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43253\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604\",\"datePublished\":\"2024-11-26T12:26:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43253\/\"},\"wordCount\":85,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"WPF \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/43253\/\",\"url\":\"https:\/\/atmokpo.com\/w\/43253\/\",\"name\":\"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-26T12:26:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/43253\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/43253\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/43253\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604\"}]},{\"@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":"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604 - \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\/43253\/","og_locale":"ko_KR","og_type":"article","og_title":"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"WPF(Windows Presentation Foundation)\ub294 Microsoft\uc758 \ub370\uc2a4\ud06c\ud0d1 \uc751\uc6a9 \ud504\ub85c\uadf8\ub7a8\uc744 \uac1c\ubc1c\ud558\uae30 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \ubcf5\uc7a1\ud55c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uac1c\ubc1c\uc5d0\uc11c\ub294 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc9c0 \uad00\ub9ac\uc131\uc744 \ub192\uc774\uae30 \uc704\ud574 \ub2e4\uc911 \uacc4\uce35 \uc544\ud0a4\ud14d\ucc98\uc758 \uc124\uacc4\uac00 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Prism\uc740 \ud2b9\ud788 WPF \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubaa8\ub4c8\ud654 \ubc0f \ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc124\uacc4\ub41c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc774 \uae00\uc5d0\uc11c\ub294 Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c\uc640 \uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc758 \uad6c\ud604\uc5d0 \ub300\ud574 \uc2ec\ub3c4 \uae4a\uc740 \ub17c\uc758\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Prism &hellip; \ub354 \ubcf4\uae30 \"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604\"","og_url":"https:\/\/atmokpo.com\/w\/43253\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-26T12:26:29+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\/43253\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/43253\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604","datePublished":"2024-11-26T12:26:29+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/43253\/"},"wordCount":85,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["WPF \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/43253\/","url":"https:\/\/atmokpo.com\/w\/43253\/","name":"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-26T12:26:29+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/43253\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/43253\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/43253\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[Prism] 010. Prism\uc758 \ud575\uc2ec \uad6c\uc131 \uc694\uc18c, \uc758\uc874\uc131 \uc8fc\uc785 (Dependency Injection)\uc758 \uad6c\ud604"}]},{"@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\/43253","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=43253"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43253\/revisions"}],"predecessor-version":[{"id":43254,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/43253\/revisions\/43254"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=43253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=43253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=43253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}