{"id":1316,"date":"2012-08-27T11:42:53","date_gmt":"2012-08-27T10:42:53","guid":{"rendered":"http:\/\/soci.hu\/blog\/?p=1316"},"modified":"2012-08-27T11:42:53","modified_gmt":"2012-08-27T10:42:53","slug":"optional-parameter-zurzavar","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2012\/08\/27\/optional-parameter-zurzavar\/","title":{"rendered":"Optional parameter z\u0171rzavar"},"content":{"rendered":"<p>\u00c9rdekes, hogy egy \u00e1rtatlannak t\u0171n\u0151 kis b\u0151v\u00edt\u00e9snek, mint a C# 4-ben bej\u00f6tt default param\u00e9tereknek milyen <a href=\"http:\/\/blogs.msdn.com\/b\/ericlippert\/archive\/2011\/05\/09\/optional-argument-corner-cases-part-one.aspx\">furcsas\u00e1gai<\/a> j\u00f6nnek el\u0151, ha bele\u00fctk\u00f6zik a polimorfizmusba.<\/p>\n<p>Mellesleg, gondolom az mindenkinek tiszta, hogy a default param\u00e9terek hasonl\u00f3 verzi\u00f3z\u00e1si probl\u00e9m\u00e1kat okoznak, mint az enumok: a h\u00edv\u00f3 oldalba be\u00e9g a konkr\u00e9t \u00e9rt\u00e9k, \u00edgy a h\u00edvott library \u00fajraford\u00edt\u00e1sa NINCS hat\u00e1ssal a h\u00edv\u00f3 \u00e1ltal \u00e1tadott \u00e9rt\u00e9kre. M\u00e9g nem l\u00e1ttam emiatt sz\u00edv\u00e1st, de j\u00f3 \u00e9szben tartani.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00c9rdekes, hogy egy \u00e1rtatlannak t\u0171n\u0151 kis b\u0151v\u00edt\u00e9snek, mint a C# 4-ben bej\u00f6tt default param\u00e9tereknek milyen furcsas\u00e1gai j\u00f6nnek el\u0151, ha bele\u00fctk\u00f6zik a polimorfizmusba&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,75,10,4],"tags":[],"class_list":["post-1316","post","type-post","status-publish","format-standard","hentry","category-net","category-net-4","category-c","category-szakmai-elet"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1316"}],"version-history":[{"count":1,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1316\/revisions"}],"predecessor-version":[{"id":1317,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1316\/revisions\/1317"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}