<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Evolving Software &#187; Dependency Injection</title>
	<atom:link href="http://evolving-software.co.uk/blog/tag/dependency-injection/feed/" rel="self" type="application/rss+xml" />
	<link>http://evolving-software.co.uk/blog</link>
	<description>General tidbits about Domain Driven Design and TrueView</description>
	<lastBuildDate>Tue, 06 Dec 2011 21:29:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>TrueView Release 1.3.0908.09 &#8211; ServiceLocator and Dependency Injection</title>
		<link>http://evolving-software.co.uk/blog/2009/08/09/trueview-release-13090809-servicelocator-and-dependency-injection/</link>
		<comments>http://evolving-software.co.uk/blog/2009/08/09/trueview-release-13090809-servicelocator-and-dependency-injection/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 16:45:17 +0000</pubDate>
		<dc:creator>Vijay</dc:creator>
				<category><![CDATA[News items]]></category>
		<category><![CDATA[Dependency Injection]]></category>
		<category><![CDATA[multi monitor]]></category>
		<category><![CDATA[popup search query]]></category>
		<category><![CDATA[Service Locator]]></category>

		<guid isPermaLink="false">http://evolving-software.co.uk/blog/?p=256</guid>
		<description><![CDATA[<a href="http://evolving-software.co.uk/blog/2009/08/09/trueview-release-13090809-servicelocator-and-dependency-injection/" title="TrueView Release 1.3.0908.09 - ServiceLocator and Dependency Injection"></a>The latest release adds Dependency Injection to the mix.  The default behaviour uses a simple Service Locator, but you can inject your own dependencies as you wish.  See the user guide for more info. BREAKING CHANGES: The following interfaces now &#8230;<p class="read-more"><a href="http://evolving-software.co.uk/blog/2009/08/09/trueview-release-13090809-servicelocator-and-dependency-injection/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://evolving-software.co.uk/blog/2009/08/09/trueview-release-13090809-servicelocator-and-dependency-injection/" title="TrueView Release 1.3.0908.09 - ServiceLocator and Dependency Injection"></a><p>The <a href="http://evolving-software.co.uk/downloads/TrueViewFreeTrial.exe">latest release</a> adds <strong>Dependency Injection</strong> to the mix.  The default behaviour uses a simple <strong>Service Locator</strong>, but you can inject your own dependencies as you wish.  See the <a href="http://evolving-software.co.uk/downloads/TrueViewDevelopersGuide.pdf">user guide</a> for more info.</p>
<p><strong>BREAKING CHANGES:</strong></p>
<p>The following interfaces now implement IServiceDependent:</p>
<ul>
<li> IEntity</li>
<li> IFactory</li>
<li> IRepository</li>
<li> IService</li>
</ul>
<p><strong>Enhancements</strong></p>
<ul>
<li>Added MyApplication.ServiceLocator (for locating Factory/Repository/Service classes)</li>
<li> Added IServiceDependent for DependencyInjection services</li>
<li>Added IService interface (similar to IFactory and IRepository)</li>
<li>Services are now shown in the Class Library treeview</li>
<li>MyApplication now raises EntityCreated event when entities come into scope</li>
<li>MyApplication now raises EntityDisposed event when entities are no longer required</li>
<li>MyApplication now raises ApplicationInitialised event at startup</li>
<li>Many delegates moved out of classes (reduce API clutter)</li>
<li>Added EntityListAttribute.HasUniqueItems, to determine if duplicate items are allowed</li>
<li>Drag/Drop tip now detects duplicate items</li>
<li>Replaced Class Library CheckBoxes with ToggleButton</li>
<li>Added Search box to Class Library to allow easy finding of Entity classes</li>
<li>Increased scrolling speed when using Drag/Drop on treeview</li>
<li>ListView numeric columns are now right-aligned</li>
<li>Re-instated &#8220;Explore&#8221; context-menu option for root Entities</li>
<li>Added support for parameterised Methods</li>
<li>Window buttons bar is now visible by default (to reduce flickering)</li>
<li>Added AddRange &amp; RemoveRange methods to TransientEntityList</li>
<li>Added AddRange &amp; RemoveRange methods to EntityList</li>
<li>Search Form now shows Query text as query is built</li>
<li>Boolean editor now changes value immediately</li>
<li>Hitting F2 over a listview opens the editor beneath the mouse cursor</li>
<li>&#8216;Short&#8217; values now have smaller widgets (Numbers, Enums, Dates)</li>
<li>Added new &#8220;Replace/Add&#8221; context-menu items for context sensitive queries</li>
<li>&#8220;Open File&#8221; option renamed to &#8220;View File&#8221;</li>
<li>Changed internal async command processing</li>
<li>Added &#8220;Allow multi-monitor use&#8221; option for non-MDI interfaces</li>
<li>Query List no longer shows &#8220;Type&#8221; in first header</li>
<li>Entity treeview no longer scales when window is resized</li>
<li>Changed error message when trying to execute HQL using MemoryCache provider</li>
</ul>
<p><strong>Fixes</strong></p>
<ul>
<li>Reduced flickering when rendering/repainting controls</li>
<li>Corrected header style for each window</li>
<li>Correction in MyApplication.Start() to allow repeated calls</li>
<li>Saving object graphs with unmapped entities now always forces NHibernatePersistence</li>
<li>Corrected UI updates when setting Parameters</li>
<li>Applied [Visible=false] attribute to all public interface members</li>
<li>Exceptions no longer thrown if Providers aren&#8217;t defined in app.config</li>
<li>Correction in collection/list count</li>
<li>Correction in identifying parent widgets</li>
<li>Fixed margin settings for collapsible panels</li>
<li>Corrected identification/caching of icons for sub-classes</li>
<li>Corrected icon for Namespace nodes</li>
<li>ListView &#8220;Auto-resize&#8221; option now overrides user defined widths</li>
<li>Window button tooltip is updated for Search Forms</li>
<li>Corrected culture setting for DateTimePicker</li>
<li>Better handling of exceptions when editor controls are rendered</li>
<li>Now uses correct DateTimePicker rendering for Windows 7</li>
<li>Corrected background colour in Enum editor</li>
<li>Empty Category headers are no longer displayed</li>
<li>Disabled &#8220;Explore&#8221; option for primitive types</li>
<li>Corrected multiple argument injection in EntityList Add &amp; Remove methods</li>
<li>Reduced Drag/Drop tip flickering</li>
<li>ListView &#8220;Property&#8221; column is now sized to fit</li>
<li>Selected TreeView node is now scrolled into view</li>
<li>Corrected border colour for Boolean editor</li>
<li>Corrected Entity Relationships for properties in super classes</li>
<li>Corrected event handler disposal in a few controls</li>
</ul>
<p><strong>Optimisations</strong></p>
<ul>
<li>Improved string building performance</li>
<li>Optimised widget detection at mouse co-ords</li>
<li>DynamicMethods are now created lazily</li>
<li>Entity Relationships are now resolved lazily</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://evolving-software.co.uk/blog/2009/08/09/trueview-release-13090809-servicelocator-and-dependency-injection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

