{"id":485,"date":"2012-02-01T15:23:01","date_gmt":"2012-02-01T14:23:01","guid":{"rendered":"https:\/\/ridgesolutions.ie\/?p=485"},"modified":"2013-10-15T15:37:20","modified_gmt":"2013-10-15T14:37:20","slug":"example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf","status":"publish","type":"post","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/","title":{"rendered":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF"},"content":{"rendered":"<p>.NET&#8217;s Threading module isn&#8217;t the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm&#8217;s length away. It&#8217;s workable but sometimes it requires that you jump through hoops to do simple everyday things with threads &#8211; like updating a UI element from a non UI thread etc. You may see errors akin to the following:<\/p>\n<div><\/div>\n<blockquote><p>&#8220;Must create DependencySource on same Thread as the DependencyObject.&#8221;<\/p><\/blockquote>\n<blockquote><p>&#8220;This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.&#8221;<\/p><\/blockquote>\n<p>To get around this all a .NET developer needs to do is to remember a few ritualistic looking invocations to appease the .NET small gods &#8211; but of course I can never remember the details so am recording one such here:<\/p>\n<div><\/div>\n<p>To dispatch to the UI from a non-UI thread and non-UI code, use something like the following:<\/p>\n<div><\/div>\n<pre>\r\nusing System.Windows;\r\n\r\nApplication.Current.Dispatcher.Invoke(new Action (() => Thumbnails.Add(thumbnail)));\r\n<\/pre>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>.NET&#8217;s Threading module isn&#8217;t the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm&#8217;s length away. It&#8217;s workable but sometimes it requires that you jump through hoops to do simple everyday things with threads &#8211; like updating [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[57,189,190,187],"class_list":["post-485","post","type-post","status-publish","format-standard","hentry","category-tech-stuff","category-uncategorized","tag-net","tag-threading","tag-ui","tag-wpf"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\".NET&#039;s Threading module isn&#039;t the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm&#039;s length away. It&#039;s workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kevin Godden\"\/>\n\t<meta name=\"google-site-verification\" content=\"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\" \/>\n\t\t<meta property=\"og:description\" content=\".NET&#039;s Threading module isn&#039;t the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm&#039;s length away. It&#039;s workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-02-01T14:23:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2013-10-15T14:37:20+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\" \/>\n\t\t<meta name=\"twitter:description\" content=\".NET&#039;s Threading module isn&#039;t the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm&#039;s length away. It&#039;s workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#article\",\"name\":\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\",\"headline\":\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\",\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#articleImage\",\"width\":400,\"height\":81},\"datePublished\":\"2012-02-01T15:23:01+00:00\",\"dateModified\":\"2013-10-15T15:37:20+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#webpage\"},\"articleSection\":\"Tech Stuff, Uncategorized, .NET, threading, UI, wpf\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/uncategorized\\\/#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/uncategorized\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#listItem\",\"name\":\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#listItem\",\"position\":3,\"name\":\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#organizationLogo\",\"width\":400,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/\",\"name\":\"Kevin Godden\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d2833f41e59a25cf2a9741a05ec383bfdd278762a5e0798a90940e7ab0a107a2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kevin Godden\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/\",\"name\":\"Example of Calling Dispatcher Directly from non-UI code in .NET WPF\",\"description\":\".NET's Threading module isn't the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm's length away. It's workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2012\\\/02\\\/01\\\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"datePublished\":\"2012-02-01T15:23:01+00:00\",\"dateModified\":\"2013-10-15T15:37:20+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","description":".NET's Threading module isn't the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm's length away. It's workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating","canonical_url":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#article","name":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","headline":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/#articleImage","width":400,"height":81},"datePublished":"2012-02-01T15:23:01+00:00","dateModified":"2013-10-15T15:37:20+00:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#webpage"},"articleSection":"Tech Stuff, Uncategorized, .NET, threading, UI, wpf"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","position":1,"name":"Home","item":"https:\/\/www.ridgesolutions.ie","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/uncategorized\/#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/uncategorized\/#listItem","position":2,"name":"Uncategorized","item":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/uncategorized\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#listItem","name":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#listItem","position":3,"name":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/uncategorized\/#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/www.ridgesolutions.ie\/#organization","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","url":"https:\/\/www.ridgesolutions.ie\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#organizationLogo","width":400,"height":81},"image":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author","url":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/","name":"Kevin Godden","image":{"@type":"ImageObject","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d2833f41e59a25cf2a9741a05ec383bfdd278762a5e0798a90940e7ab0a107a2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kevin Godden"}},{"@type":"WebPage","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#webpage","url":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/","name":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","description":".NET's Threading module isn't the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm's length away. It's workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/#website"},"breadcrumb":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"creator":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"datePublished":"2012-02-01T15:23:01+00:00","dateModified":"2013-10-15T15:37:20+00:00"},{"@type":"WebSite","@id":"https:\/\/www.ridgesolutions.ie\/#website","url":"https:\/\/www.ridgesolutions.ie\/","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"}}]},"og:locale":"en_US","og:site_name":"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer","og:type":"article","og:title":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","og:description":".NET's Threading module isn't the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm's length away. It's workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating","og:url":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/","article:published_time":"2012-02-01T14:23:01+00:00","article:modified_time":"2013-10-15T14:37:20+00:00","twitter:card":"summary","twitter:title":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","twitter:description":".NET's Threading module isn't the best, it has the look of a model that was designed by the type of software people who like to keep practical multi-threading a good long arm's length away. It's workable but sometimes it requires that you jump through hoops to do simple everyday things with threads - like updating"},"aioseo_meta_data":{"post_id":"485","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-09-13 21:32:08","updated":"2025-07-15 21:33:03","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\/index.php\/category\/uncategorized\/\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExample of Calling Dispatcher Directly from non-UI code in .NET WPF\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ridgesolutions.ie"},{"label":"Uncategorized","link":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/uncategorized\/"},{"label":"Example of Calling Dispatcher Directly from non-UI code in .NET WPF","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2012\/02\/01\/example-of-calling-dispatcher-directly-from-non-ui-code-in-net-wpf\/"}],"_links":{"self":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/comments?post=485"}],"version-history":[{"count":0,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/485\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/media?parent=485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/categories?post=485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/tags?post=485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}