{"id":42688,"date":"2024-11-13T20:47:53","date_gmt":"2024-11-13T20:47:53","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=42688"},"modified":"2024-11-26T06:34:45","modified_gmt":"2024-11-26T06:34:45","slug":"10-reflection%ea%b3%bc-%ea%b3%a0%ea%b8%89-%eb%a9%94%ed%83%80%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%98%eb%b0%8d-%ec%9d%98%ec%a1%b4%ec%84%b1-%ec%a3%bc%ec%9e%85%ec%97%90%ec%84%9c-reflection-%ec%82%ac","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/42688\/","title":{"rendered":"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840"},"content":{"rendered":"<p><body><\/p>\n<article>\n<header>\n<p>\uae00\uc4f4\uc774: \uc870\uad11\ud615<\/p>\n<p>\ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c<\/p>\n<\/header>\n<section>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP)\uacfc \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc73c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. C#\uc740 \uc774\ub7ec\ud55c \uac1c\ub150\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5ec\ub7ec \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788, Reflection\uc740 \ud074\ub798\uc2a4, \uba54\uc11c\ub4dc, \uc18d\uc131 \ub4f1\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ub7f0\ud0c0\uc784\uc5d0 \ub3d9\uc801\uc73c\ub85c \ud655\uc778\ud558\uace0 \uc870\uc791\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uace0, \uc758\uc874\uc131 \uc8fc\uc785 \ud328\ud134\uc5d0\uc11c Reflection\uc758 \uc0ac\uc6a9 \uc0ac\ub840\ub97c \uc0c1\uc138\ud788 \ub17c\uc758\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>2. Reflection\uc774\ub780?<\/h2>\n<p>Reflection\uc740 C#\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \uae30\ub2a5\uc73c\ub85c, \ud504\ub85c\uadf8\ub7a8\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ub7f0\ud0c0\uc784\uc5d0 \ud655\uc778\ud558\uace0 \uc870\uc791\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774 \uae30\ub2a5\uc744 \ud1b5\ud574 \uac1c\ubc1c\uc790\ub294 \ud074\ub798\uc2a4\uc758 \uad6c\uc870, \uc18d\uc131, \uba54\uc11c\ub4dc \ub4f1\uc744 \ub3d9\uc801\uc73c\ub85c \ud0d0\uc0c9\ud558\uace0, \uc774\ub97c \uae30\ubc18\uc73c\ub85c \ub3d9\uc801\uc778 \uac1d\uccb4 \uc0dd\uc131\uc744 \ud558\uac70\ub098 \uba54\uc11c\ub4dc\ub97c \ud638\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>2.1 Reflection\uc758 \uc8fc\uc694 \uad6c\uc131 \uc694\uc18c<\/h3>\n<p>Reflection\uc740 \uc8fc\ub85c \ub2e4\uc74c\uacfc \uac19\uc740 \ud074\ub798\uc2a4\uc640 \ub124\uc784\uc2a4\ud398\uc774\uc2a4\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>System.Reflection<\/strong>: Reflection \uad00\ub828 \uae30\ub2a5\uc744 \ud3ec\ud568\ud558\ub294 \ub124\uc784\uc2a4\ud398\uc774\uc2a4.<\/li>\n<li><strong>Assembly<\/strong>: \uc5b4\uc148\ube14\ub9ac\uc5d0 \ub300\ud55c \uc815\ubcf4 \ubc0f \uba54\ud0c0\ub370\uc774\ud130\ub97c \uc81c\uacf5.<\/li>\n<li><strong>Type<\/strong>: \ud074\ub798\uc2a4, \uc778\ud130\ud398\uc774\uc2a4, \uc5f4\uac70\ud615 \ub4f1 \uac1d\uccb4\uc758 \uc720\ud615 \uc815\ubcf4 \uc81c\uacf5.<\/li>\n<li><strong>MethodInfo<\/strong>: \uba54\uc11c\ub4dc\uc5d0 \ub300\ud55c \uba54\ud0c0\ub370\uc774\ud130 \uc815\ubcf4 \uc81c\uacf5.<\/li>\n<li><strong>PropertyInfo<\/strong>: \uc18d\uc131\uc5d0 \ub300\ud55c \uba54\ud0c0\ub370\uc774\ud130 \uc815\ubcf4 \uc81c\uacf5.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>3. Reflection\uc758 \uc0ac\uc6a9 \uc608\uc2dc<\/h2>\n<p>Reflection\uc758 \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\ubc95\uc744 \uc774\ud574\ud558\uae30 \uc704\ud574, \ub2e4\uc74c\uc740 \uac04\ub2e8\ud55c C# \ud074\ub798\uc2a4\uc640 \ud574\ub2f9 \ud074\ub798\uc2a4\ub97c Reflection\uc744 \ud1b5\ud574 \ud0d0\uc0c9\ud558\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>\nusing System;\nusing System.Reflection;\n\npublic class SampleClass\n{\n    public int Number { get; set; }\n    public string Text { get; set; }\n\n    public void Display()\n    {\n        Console.WriteLine($\"Number: {Number}, Text: {Text}\");\n    }\n}\n\nclass Program\n{\n    static void Main()\n    {\n        Type type = typeof(SampleClass);\n        Console.WriteLine($\"\ud074\ub798\uc2a4 \uc774\ub984: {type.Name}\");\n\n        PropertyInfo[] properties = type.GetProperties();\n        foreach (var property in properties)\n        {\n            Console.WriteLine($\"\uc18d\uc131: {property.Name} - \ud0c0\uc785: {property.PropertyType}\");\n        }\n\n        MethodInfo method = type.GetMethod(\"Display\");\n        Console.WriteLine($\"\uba54\uc11c\ub4dc \uc774\ub984: {method.Name}\");\n    }\n}\n            <\/code><\/pre>\n<p>\uc704 \uc608\uc81c\uc5d0\uc11c <code>SampleClass<\/code>\uc758 \uba54\ud0c0\ub370\uc774\ud130\uc5d0 \uc811\uadfc\ud558\uc5ec \ud574\ub2f9 \ud074\ub798\uc2a4\uc758 \uc18d\uc131\uacfc \uba54\uc11c\ub4dc \uc815\ubcf4\ub97c \ucd9c\ub825\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>4. \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uac1c\ub150\uacfc \ud65c\uc6a9<\/h2>\n<p>\uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\ub294 \uac83\uacfc \uac19\uc740 \uc5b8\uc5b4\uc758 \uae30\ubc95\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8 \uadf8 \uc790\uccb4\ub97c \uc870\uc791\ud558\ub294 \ud504\ub85c\uadf8\ub798\ubc0d \ud328\ub7ec\ub2e4\uc784\uc785\ub2c8\ub2e4. C#\uc758 Reflection\uc744 \ud65c\uc6a9\ud558\uba74 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc744 \ud1b5\ud574 \ucf54\ub4dc\uc758 \uc7ac\uc0ac\uc6a9\uc131\uacfc \uc720\uc5f0\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc744 \ud65c\uc6a9\ud55c \uc608\uc81c\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>\nusing System;\n\npublic class DynamicLoader\n{\n    public T Load<t>(string typeName) where T : class\n    {\n        Type type = Type.GetType(typeName);\n        if (type == null) throw new InvalidOperationException(\"\ud0c0\uc785\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\");\n\n        return Activator.CreateInstance(type) as T;\n    }\n}\n\nclass Program\n{\n    static void Main()\n    {\n        DynamicLoader loader = new DynamicLoader();\n        var myClassInstance = loader.Load<myclass>(\"Namespace.MyClass\");\n\n        \/\/ myClassInstance\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    }\n}\n            <\/myclass><\/t><\/code><\/pre>\n<p>\uc774 \uc608\uc81c\uc5d0\uc11c <code>DynamicLoader<\/code>\ub294 \ud0c0\uc785 \uc774\ub984\uc744 \ubb38\uc790\uc5f4\ub85c \ubc1b\uc544 \ud574\ub2f9 \ud0c0\uc785\uc758 \uc778\uc2a4\ud134\uc2a4\ub97c \ub3d9\uc801\uc73c\ub85c \uc0dd\uc131\ud558\ub294 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ucf54\ub4dc\uc5d0\uc11c \uc758\uc874\uc131\uc744 \uc904\uc774\uace0, \ub354 \uc720\uc5f0\ud55c \uc124\uacc4\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>5. \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection\uc758 \uc0ac\uc6a9 \uc0ac\ub840<\/h2>\n<p>\uc758\uc874\uc131 \uc8fc\uc785(Dependency Injection, DI)\uc740 \uac1d\uccb4\uc758 \uc758\uc874 \uad00\uacc4\ub97c \uc678\ubd80\uc5d0\uc11c \uc8fc\uc785\ud568\uc73c\ub85c\uc368 \uacb0\ud569\ub3c4\ub97c \ub0ae\ucd94\uace0, \ud14c\uc2a4\ud2b8 \uc6a9\uc774\uc131\uc744 \ub192\uc774\ub294 \ub514\uc790\uc778 \ud328\ud134\uc785\ub2c8\ub2e4. Reflection\uc740 DI \ucee8\ud14c\uc774\ub108\uc5d0\uc11c \uc720\ud615\uc744 \ub3d9\uc801\uc73c\ub85c \ud574\uacb0\ud558\ub294 \ub370 \ud544\uc218\uc801\uc73c\ub85c \uc0ac\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<h3>5.1 \uc758\uc874\uc131 \uc8fc\uc785\uc758 \uac1c\ub150<\/h3>\n<p>\uc758\uc874\uc131 \uc8fc\uc785\uc740 \uac1d\uccb4\uac00 \uc9c1\uc811 \uc758\uc874\ud558\ub294 \uac1d\uccb4\ub97c \uc0dd\uc131\ud558\uc9c0 \uc54a\uace0, \uc678\ubd80\uc5d0\uc11c \uc8fc\uc785\ubc1b\ub294 \ubc29\uc2dd\uc73c\ub85c, \uc774\ub97c \ud1b5\ud574 \uac1d\uccb4 \uac04\uc758 \uacb0\ud569\ub3c4\ub97c \ub0ae\ucd94\uc5b4 \uc720\uc5f0\ud55c \uad6c\uc870\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4.<\/p>\n<h3>5.2 DI \ucee8\ud14c\uc774\ub108\uc5d0\uc11c Reflection \ud65c\uc6a9\ud558\uae30<\/h3>\n<p>DI \ucee8\ud14c\uc774\ub108\ub97c \uad6c\ud604\ud558\uae30 \uc704\ud574 Reflection\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uac04\ub2e8\ud55c DI \ucee8\ud14c\uc774\ub108\uc758 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>\nusing System;\nusing System.Collections.Generic;\nusing System.Reflection;\n\npublic class SimpleContainer\n{\n    private readonly Dictionary<type, type=\"\"> _registrations = new Dictionary<type, type=\"\">();\n\n    public void Register<i, t=\"\">() where T : I\n    {\n        _registrations[typeof(I)] = typeof(T);\n    }\n\n    public I Resolve<i>()\n    {\n        Type typeToResolve = _registrations[typeof(I)];\n        ConstructorInfo constructor = typeToResolve.GetConstructors()[0];\n        ParameterInfo[] parameters = constructor.GetParameters();\n\n        object[] parameterInstances = new object[parameters.Length];\n        for (int i = 0; i &lt; parameters.Length; i++)\n        {\n            parameterInstances[i] = Resolve(parameters[i].ParameterType);\n        }\n\n        return (I)constructor.Invoke(parameterInstances);\n    }\n}\n\n\/\/ \uc0ac\uc6a9 \uc608\npublic interface IService { void Execute(); }\npublic class Service : IService { public void Execute() =&gt; Console.WriteLine(\"Service called\"); }\npublic class Client\n{\n    private readonly IService _service;\n\n    public Client(IService service) =&gt; _service = service;\n\n    public void Run() =&gt; _service.Execute();\n}\n\nclass Program\n{\n    static void Main()\n    {\n        SimpleContainer container = new SimpleContainer();\n        container.Register<iservice, service=\"\">();\n        Client client = container.Resolve<client>();\n        client.Run();\n    }\n}\n            <\/client><\/iservice,><\/i><\/i,><\/type,><\/type,><\/code><\/pre>\n<p>\uc704\uc758 \uc608\uc81c\uc5d0\uc11c <code>SimpleContainer<\/code>\ub294 \ud0c0\uc785\uc744 \ub4f1\ub85d\ud558\uace0, \uc774\ub97c \ubc14\ud0d5\uc73c\ub85c \uc0dd\uc131\uc790\ub97c \ud1b5\ud574 \uc758\uc874\uc131\uc744 \ud574\uacb0\ud569\ub2c8\ub2e4. Reflection\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc801\uc808\ud55c \uc0dd\uc131\uc790\ub97c \ucc3e\uace0, \uc0dd\uc131\uc790\uc758 \ud30c\ub77c\ubbf8\ud130\ub97c \uc7ac\uadc0\uc801\uc73c\ub85c \ud574\uacb0\ud569\ub2c8\ub2e4.<\/p>\n<\/section>\n<section>\n<h2>6. Reflection \uc0ac\uc6a9\uc758 \uc7a5\ub2e8\uc810<\/h2>\n<h3>6.1 \uc7a5\uc810<\/h3>\n<ul>\n<li><strong>\uc720\uc5f0\uc131<\/strong>: \ub7f0\ud0c0\uc784\uc5d0 \ud074\ub798\uc2a4\ub97c \ub3d9\uc801\uc73c\ub85c \ud0d0\uc0c9\ud558\uace0 \uc0ac\uc6a9\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4.<\/li>\n<li><strong>\ucf54\ub4dc \uc7ac\uc0ac\uc6a9\uc131<\/strong>: \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d \uae30\ubc95\uc744 \ud1b5\ud574 \uc911\ubcf5 \ucf54\ub4dc\ub97c \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>6.2 \ub2e8\uc810<\/h3>\n<ul>\n<li><strong>\uc131\ub2a5 \uc800\ud558<\/strong>: Reflection\uc740 \uc77c\ubc18\uc801\uc778 \uba54\uc11c\ub4dc \ud638\ucd9c\ubcf4\ub2e4 \ub290\ub9ac\uba70, \ub7f0\ud0c0\uc784 \uc131\ub2a5\uc5d0 \uc601\ud5a5\uc744 \uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong> \ud0c0\uc785 \uc548\uc804\uc131 \uac10\uc18c<\/strong>: \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 \ud0c0\uc785\uc774 \uacb0\uc815\ub418\uc9c0 \uc54a\uc73c\ubbc0\ub85c, \ub7f0\ud0c0\uc784 \uc624\ub958\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<\/section>\n<section>\n<h2>7. \uacb0\ub860<\/h2>\n<p>Reflection\uacfc \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc740 C#\uc758 \ub6f0\uc5b4\ub09c \uae30\ub2a5\uc73c\ub85c, \uc804\ud1b5\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d \ubaa8\ub378\uc744 \ub118\uc5b4\uc11c\ub294 \uc720\uc5f0\ud558\uace0 \ub3d9\uc801\uc778 \ud504\ub85c\uadf8\ub798\ubc0d\uc744 \uac00\ub2a5\ud558\uac8c \ud569\ub2c8\ub2e4. \ud2b9\ud788, \uc758\uc874\uc131 \uc8fc\uc785 \ud328\ud134\uc5d0\uc11c Reflection\uc740 \uac15\ub825\ud55c \ub3c4\uad6c\ub85c \ud65c\uc6a9\ub429\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \uac1c\ubc1c\uc790\ub294 Reflection \uc0ac\uc6a9\uc758 \uc7a5\ub2e8\uc810\uc744 \ucda9\ubd84\ud788 \uc774\ud574\ud558\uace0, \ud544\uc694\uc5d0 \ub530\ub77c \uc801\uc808\ud558\uac8c \ud65c\uc6a9\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ubcf4\ub2e4 \ud6a8\uacfc\uc801\uc774\uace0 \uc720\uc9c0 \ubcf4\uc218\uc131\uc774 \ub192\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<\/section>\n<footer>\n<p>\uc774 \uae00\uc774 C#\uc758 Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \ub300\ud55c \uc774\ud574\ub97c \ub192\uc774\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub418\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<\/footer>\n<\/article>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uae00\uc4f4\uc774: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP)\uacfc \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc73c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. C#\uc740 \uc774\ub7ec\ud55c \uac1c\ub150\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5ec\ub7ec \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788, Reflection\uc740 \ud074\ub798\uc2a4, \uba54\uc11c\ub4dc, \uc18d\uc131 \ub4f1\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ub7f0\ud0c0\uc784\uc5d0 \ub3d9\uc801\uc73c\ub85c \ud655\uc778\ud558\uace0 \uc870\uc791\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uace0, \uc758\uc874\uc131 \uc8fc\uc785 \ud328\ud134\uc5d0\uc11c Reflection\uc758 \uc0ac\uc6a9 \uc0ac\ub840\ub97c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/42688\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840&#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":[241],"tags":[],"class_list":["post-42688","post","type-post","status-publish","format-standard","hentry","category-csharp"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840 - \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\/42688\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uae00\uc4f4\uc774: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP)\uacfc \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc73c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. C#\uc740 \uc774\ub7ec\ud55c \uac1c\ub150\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5ec\ub7ec \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788, Reflection\uc740 \ud074\ub798\uc2a4, \uba54\uc11c\ub4dc, \uc18d\uc131 \ub4f1\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ub7f0\ud0c0\uc784\uc5d0 \ub3d9\uc801\uc73c\ub85c \ud655\uc778\ud558\uace0 \uc870\uc791\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uace0, \uc758\uc874\uc131 \uc8fc\uc785 \ud328\ud134\uc5d0\uc11c Reflection\uc758 \uc0ac\uc6a9 \uc0ac\ub840\ub97c &hellip; \ub354 \ubcf4\uae30 &quot;[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/42688\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-13T20:47:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:34:45+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\/42688\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42688\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840\",\"datePublished\":\"2024-11-13T20:47:53+00:00\",\"dateModified\":\"2024-11-26T06:34:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42688\/\"},\"wordCount\":45,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"csharp\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/42688\/\",\"url\":\"https:\/\/atmokpo.com\/w\/42688\/\",\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-13T20:47:53+00:00\",\"dateModified\":\"2024-11-26T06:34:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/42688\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/42688\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/42688\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840\"}]},{\"@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":"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840 - \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\/42688\/","og_locale":"ko_KR","og_type":"article","og_title":"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uae00\uc4f4\uc774: \uc870\uad11\ud615 \ub0a0\uc9dc: 2024\ub144 11\uc6d4 26\uc77c 1. \uc11c\ub860 \ud604\ub300 \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uac1c\ubc1c\uc5d0\uc11c \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d(OOP)\uacfc \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ud544\uc218\uc801\uc778 \uac1c\ub150\uc73c\ub85c \uc790\ub9ac \uc7a1\uace0 \uc788\uc2b5\ub2c8\ub2e4. C#\uc740 \uc774\ub7ec\ud55c \uac1c\ub150\uc744 \uc9c0\uc6d0\ud558\ub294 \uc5ec\ub7ec \uac15\ub825\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ud2b9\ud788, Reflection\uc740 \ud074\ub798\uc2a4, \uba54\uc11c\ub4dc, \uc18d\uc131 \ub4f1\uc758 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ub7f0\ud0c0\uc784\uc5d0 \ub3d9\uc801\uc73c\ub85c \ud655\uc778\ud558\uace0 \uc870\uc791\ud560 \uc218 \uc788\ub294 \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d\uc5d0 \ub300\ud574 \uc0b4\ud3b4\ubcf4\uace0, \uc758\uc874\uc131 \uc8fc\uc785 \ud328\ud134\uc5d0\uc11c Reflection\uc758 \uc0ac\uc6a9 \uc0ac\ub840\ub97c &hellip; \ub354 \ubcf4\uae30 \"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840\"","og_url":"https:\/\/atmokpo.com\/w\/42688\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-13T20:47:53+00:00","article_modified_time":"2024-11-26T06:34:45+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\/42688\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/42688\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840","datePublished":"2024-11-13T20:47:53+00:00","dateModified":"2024-11-26T06:34:45+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/42688\/"},"wordCount":45,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["csharp"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/42688\/","url":"https:\/\/atmokpo.com\/w\/42688\/","name":"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-13T20:47:53+00:00","dateModified":"2024-11-26T06:34:45+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/42688\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/42688\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/42688\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"[\uac1d\uccb4\uc9c0\ud5a5] 10.Reflection\uacfc \uace0\uae09 \uba54\ud0c0\ud504\ub85c\uadf8\ub798\ubc0d, \uc758\uc874\uc131 \uc8fc\uc785\uc5d0\uc11c Reflection \uc0ac\uc6a9 \uc0ac\ub840"}]},{"@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\/42688","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=42688"}],"version-history":[{"count":3,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42688\/revisions"}],"predecessor-version":[{"id":43029,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/42688\/revisions\/43029"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=42688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=42688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=42688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}