Add documentation to be hosted at github.io

This commit is contained in:
Mike Bierlee 2017-12-09 00:41:22 +01:00
parent 66f59c39fb
commit 6987850439
52 changed files with 5686 additions and 21 deletions

1
.gitignore vendored
View file

@ -4,7 +4,6 @@
/.settings /.settings
/.dub /.dub
/dub.selections.json /dub.selections.json
/docs
/__dummy.html /__dummy.html
/docs.json /docs.json
/poodinis /poodinis

3
docs/css/style.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
docs/file_hashes.json Normal file
View file

@ -0,0 +1 @@
{"poodinis/autowire/AssignNewInstance.html":"68F050F50E0711FC981023F3A3F011E1","poodinis/valueinjection/ValueInjector.html":"B21CBA48EE4E0547ECF3839D662C73B0","poodinis/valueinjection/MandatoryValue.html":"4E586A0DDE261A53E6D4C4B9451143A3","poodinis/registration/existingInstance.html":"051759838C5925DB657FA2D829C3BC10","poodinis/context/Prototype.html":"E18D2277716D8236E81C40E2BBCA3368","poodinis/registration.html":"EA050F201F045FDB8DAFEA77DD722711","poodinis/autowire.html":"873FA971B131858C4563EBAFB0A8FF32","poodinis/context/Component.html":"AA504C86A1775EC7FA8E4759BC9FB32E","poodinis/container.html":"CCA1DBA9B8F35CA36889EB2084A58C96","poodinis/valueinjection/Value.key.html":"D81B8630B2AABBDADB8D399FF81C29D3","poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html":"413DD74D6578F0AFDA2A8ACCDD8A2642","poodinis/container/DependencyContainer.resolveAll.html":"FB27DD3FD009B1EF50F3E3F1C5717B6F","poodinis/container/DependencyContainer.clearAllRegistrations.html":"0CE90E0F405254C5F0C68FDA00E0A7A7","poodinis/container/RegistrationOption.html":"77B1C346EFE5F63210421843F8F0FF7B","poodinis/container/ResolveException.html":"55FB7C79AC4A58D5EA52DE42F6CD9B53","poodinis/container/RegistrationException.html":"2C04BB3EC8D970122510B203744349E2","poodinis/context/registerContext.html":"403E9FDC354343C608653CFF0724A654","poodinis/context.html":"9E4360F9C517FC8C756E28408D5B93EE","poodinis/autowire/OptionalDependency.html":"5457B41C3B54AAFB4A0682CC6A61FBD5","poodinis/context/RegisterByType.html":"D6BC577CC274AB80740D1A8A382E0CE3","poodinis/container/ResolveOption.html":"C2229261C29CF0F393B9B656D9A70565","index.html":"707936AB562BBD96786D1B24E94AB0D3","poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html":"077CCA3AAC1779AFB6F29D3643366FAB","poodinis/valueinjection.html":"045F71B99E7D0509F13018B7B43A9E7D","poodinis/registration/newInstance.html":"29353EA71A0CFF0C4CF26B379EBC08FB","poodinis/container/DependencyContainer.register.html":"32313E1A2BD78DB37CA445C30DD76613","poodinis/valueinjection/MandatoryValue.key.html":"4C1394A24183C71AA1B71A0F7D34D369","poodinis/container/DependencyContainer.resolve.html":"4D97EDBE55E146DB3D7CF3DE566D94BC","poodinis/valueinjection/ValueInjectionException.html":"508EB576A6F2B0ED0AA81239FA34E88E","poodinis/container/DependencyContainer.html":"219A237F1ECBAA0FA6D681A8CCCF0147","poodinis/autowire/autowire.html":"BF6DBE819E73269D992F3C7C95C88E13","poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html":"03126572DA5C416703BDFF6D498A096E","poodinis/container/PostConstruct.html":"627291C2E771FE21C7742FA22F00340C","sitemap.xml":"EE65906ED51AF4E973FCB16490904763","poodinis/container/PreDestroy.html":"4286FDB4A1B1FC57C1C4DD04414A7F5F","poodinis/valueinjection/ValueNotAvailableException.html":"C8EC0CE923C6B973A4F2A095B2C39A93","poodinis/polyfill.html":"D80BE6BA8A34235820AC787707BC3989","poodinis/registration/singleInstance.html":"3B7A09C391B97B2EF50238CE0D153C8C","poodinis.html":"AB0048AABC9B92621876D17F43468821","poodinis/container/DependencyContainer.setPersistentResolveOptions.html":"E383051C6C50451FB480EA35DE9F559B","poodinis/container/DependencyContainer.removeRegistration.html":"0F1A911E0777476AD8617FD4977B8456","poodinis/factory.html":"0C1233CF47BBE34792EDFA52FBBEFF41","poodinis/valueinjection/ValueInjector.get.html":"9C5144F4CB8952002BCE3D834377D415","poodinis/valueinjection/Value.html":"075C2F54FF1D595880E455EB4DD4C338","poodinis/autowire/globalAutowire.html":"2D68C3AD3553AA85CDC68AF96CACA814","poodinis/autowire/Autowire.html":"ACD44CFE1A11EB90082AC828118287E1","symbols.js":"2390A5954B881A426122085DB757E27B"}

BIN
docs/fonts/fontello.woff Normal file

Binary file not shown.

Binary file not shown.

163
docs/index.html Normal file
View file

@ -0,0 +1,163 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>API documentation</title>
<link rel="stylesheet" href="./css/style.min.css"/>
<script type="text/javascript" src="./js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="./symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "./";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="./poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="./poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>API documentation</h1>
<table>
<col class="caption"/>
<tr>
<th>Module</th><th>Description</th>
</tr>
<tr>
<td>
<a href="./poodinis/autowire.html">poodinis.autowire</a>
</td>
<td>
Contains functionality for autowiring dependencies using a dependency container.
</td>
</tr>
<tr>
<td>
<a href="./poodinis/container.html">poodinis.container</a>
</td>
<td>
Contains the implementation of the dependency container.
</td>
</tr>
<tr>
<td>
<a href="./poodinis/context.html">poodinis.context</a>
</td>
<td>
Contains the implementation of application context setup.
</td>
</tr>
<tr>
<td>
<a href="./poodinis/factory.html">poodinis.factory</a>
</td>
<td>
This module contains instance factory facilities
</td>
</tr>
<tr>
<td>
<a href="./poodinis/polyfill.html">poodinis.polyfill</a>
</td>
<td>
Forward-compatibility module for providing support for Phobos functionality
not available in older versions of Phobos.
</td>
</tr>
<tr>
<td>
<a href="./poodinis/registration.html">poodinis.registration</a>
</td>
<td>
This module contains objects for defining and scoping dependency registrations.
</td>
</tr>
<tr>
<td>
<a href="./poodinis/valueinjection.html">poodinis.valueinjection</a>
</td>
<td>
This module contains facilities to support value injection. Actual injection is done by the
autowiring mechanism.
</td>
</tr>
<tr>
<td>
<a href="./poodinis.html">poodinis</a>
</td>
<td>
Package module for the Poodinis Dependency Injection framework.
</td>
</tr>
</table>
</div>
<footer>
<div id="license-info"></div>
</footer>
</div>
</body>
</html>

1
docs/js/script.min.js vendored Normal file
View file

@ -0,0 +1 @@
function setupDdox(){for(var e=document.querySelectorAll(".tree-view .package"),t=0;t<e.length;++t)e[t].addEventListener("click",toggleTree);for(var e=document.querySelectorAll(".tree-view .package a"),t=0;t<e.length;++t)e[t].addEventListener("click",function(e){e.stopPropagation()});e=document.querySelectorAll(".tree-view.collapsed ul");for(var t=0;t<e.length;++t)e[t].style.display="none";document.getElementById("symbolSearch").setAttribute("tabindex","1000")}function toggleTree(e){var t=this.parentNode;t.classList.toggle("collapsed");for(var l=t.children,n=t.classList.contains("collapsed")?"none":"block",r=1;r<l.length;++r)l[r].style.display=n;return this.style.display="none",this.style.display="block",!1}function performSymbolSearch(e,t){function l(e){for(var t=e.length-1;t>=0;t--)for(u in a)if(e[t].length>=a[u].length&&e[t].substr(0,a[u].length)==a[u])return e.length-1-t;return e.length}function n(e,t){var n=e.attributes.indexOf("deprecated")>=0,r=t.attributes.indexOf("deprecated")>=0;if(n!=r)return n-r;var s=e.name.toLowerCase(),i=t.name.toLowerCase(),o=s.split("."),h=i.split("."),c=o[o.length-1],d=h[h.length-1],u=a.indexOf(c)>=0,g=a.indexOf(d)>=0;if(u!=g)return g-u;var f=l(o),m=l(h);return f!=m?f-m:o.length<h.length?-1:o.length>h.length?1:c.length<d.length?-1:c.length>d.length?1:s<i?-1:s>i?1:0}var r=function(e){return document.getElementById(e)};"undefined"===e&&(e=26),void 0===t&&(t=40);var s=r("symbolSearch").value.toLowerCase();if(s!=lastSearchString){lastSearchString=s;++searchCounter;r("symbolSearchResults").style.display="none",r("symbolSearchResults").innerHTML="",r("symbolSearch").classList.remove("with_results");var a=s.trim().split(/\s+/);if(!(0==a.length||1==a.length&&a[0].length<2)){for(var i=[],o=0;o<symbols.length;++o){var h=symbols[o],c=!0;for(u in a)if(h.name.toLowerCase().indexOf(a[u])<0){c=!1;break}c&&i.push(h)}for(i.sort(n),o=0;o<i.length&&o<t;o++){var h=i[o],d=document.createElement("li");d.classList.add(h.kind);for(var u=0;u<h.attributes.length;++u)d.classList.add(h.attributes[u]);for(var g=h.name,f=g.split("."),m=f.length-1,p="."+f[m];m>0&&f[m-1].length+p.length<=e;)m--,p="."+f[m]+p;p=m>0?".."+p:p.substr(1);var y=document.createElement("a");y.setAttribute("href",symbolSearchRootDir+h.path),y.setAttribute("title",g),y.setAttribute("tabindex",1001),y.textContent=p,d.appendChild(y),r("symbolSearchResults").appendChild(d)}if(i.length>t){var b=document.createElement("li");b.innerHTML="&hellip;"+(i.length-100)+" additional results",r("symbolSearchResults").appendChild(b)}i.length&&(r("symbolSearchResults").style.display="initial",r("symbolSearch").classList.add("with_results"))}}}var searchCounter=0,lastSearchString="";

97
docs/poodinis.html Normal file
View file

@ -0,0 +1,97 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis</title>
<link rel="stylesheet" href="./css/style.min.css"/>
<script type="text/javascript" src="./js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="./symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "./";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package selected">
<a href="./poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="./poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="./poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis</h1><p>Package module for the Poodinis Dependency Injection framework.
</p><section></section>
<section></section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

169
docs/poodinis/autowire.html Normal file
View file

@ -0,0 +1,169 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.autowire</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module selected">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.autowire</h1><p>Contains functionality for autowiring dependencies using a dependency container.
</p><section><p>This module is used in a dependency container for autowiring dependencies when resolving them.
You typically only need this module if you want inject dependencies into a class instance not
managed by a dependency container.
</p>
<p> Part of the Poodinis Dependency Injection framework.
</p>
</section>
<section></section>
<section>
<h2>Functions</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="autowire" class="[&quot;public&quot;]" href="../poodinis/autowire/autowire.html">autowire</a><span class="decoration">(container, instance)</span>
</code>
</td>
<td>Autowires members of a given instance using dependencies registered in the given container.
</td>
</tr>
<tr>
<td>
<code>
<a id="globalAutowire" class="[&quot;public&quot;]" href="../poodinis/autowire/globalAutowire.html">globalAutowire</a><span class="decoration">(instance)</span>
</code>
</td>
<td>Autowire the given instance using the globally available dependency container.
</td>
</tr>
</table>
</section>
<section>
<h2>Structs</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="AssignNewInstance" class="[&quot;public&quot;]" href="../poodinis/autowire/AssignNewInstance.html">AssignNewInstance</a>
</code>
</td>
<td>UDA for annotating class members to be autowired with a new instance regardless of their registration scope.
</td>
</tr>
<tr>
<td>
<code>
<a id="Autowire" class="[&quot;public&quot;]" href="../poodinis/autowire/Autowire.html">Autowire</a>
</code>
</td>
<td>UDA for annotating class members as candidates for autowiring.
</td>
</tr>
<tr>
<td>
<code>
<a id="OptionalDependency" class="[&quot;public&quot;]" href="../poodinis/autowire/OptionalDependency.html">OptionalDependency</a>
</code>
</td>
<td>UDA for marking autowired dependencies optional.
Optional dependencies will not lead to a resolveException when there is no type registered for them.
The member will remain null.
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct AssignNewInstance</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module selected">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct AssignNewInstance</h1><p>UDA for annotating class members to be autowired with a new instance regardless of their registration scope.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">AssignNewInstance</span>
<span class="pun">;</span>
</div>
</code>
</div>
<section></section>
<section><h2>Examples</h2>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Car </span><span class="pun">{
@<a href="../../poodinis/autowire/Autowire.html"></span><span class="typ">Autowire</span></a><span class="pln">
</span><span class="pun">@</span><span class="typ">AssignNewInstance
</span><span class="kwd">public </span><span class="typ">Antenna </span><span class="pln">antenna</span><span class="pun">;
}</span></code></pre>
<p> antenna will always be assigned a new instance of class Antenna.
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,135 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct Autowire</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module selected">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct Autowire</h1><p>UDA for annotating class members as candidates for autowiring.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">Autowire</span>(QualifierType)
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>Optionally a template parameter can be supplied to specify the type of a qualified class. The qualified type
of a concrete class is used to autowire members declared by supertype. If no qualifier is supplied, the type
of the member is used as qualifier.
</p>
</section>
<section><h2>Examples</h2>
<p>Annotate member of class to be autowired:
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Car </span><span class="pun">{
@</span><span class="typ">Autowire
</span><span class="kwd">public </span><span class="typ">Engine </span><span class="pln">engine</span><span class="pun">;
}</span></code></pre>
<p> Annotate member of class with qualifier:
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">FuelEngine </span><span class="pun">: </span><span class="typ">Engine </span><span class="pun">{ ... }
</span><span class="kwd">class </span><span class="typ">ElectricEngine </span><span class="pun">: </span><span class="typ">Engine </span><span class="pun">{ ... }
</span><span class="kwd">class </span><span class="typ">HybridCar </span><span class="pun">{
@</span><span class="typ">Autowire</span><span class="pun">!</span><span class="typ">FuelEngine
</span><span class="kwd">public </span><span class="typ">Engine </span><span class="pln">fuelEngine</span><span class="pun">;
@</span><span class="typ">Autowire</span><span class="pun">!</span><span class="typ">ElectricEngine
</span><span class="kwd">public </span><span class="typ">Engine </span><span class="pln">electricEngine</span><span class="pun">;
}</span></code></pre>
<p> The members of an instance of "HybridCar" will now be autowired properly, because the autowire mechanism will
autowire member "fuelEngine" as if it's of type "FuelEngine". This means that the members of instance "fuelEngine"
will also be autowired because the autowire mechanism knows that member "fuelEngine" is an instance of "FuelEngine"
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,107 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct OptionalDependency</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module selected">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct OptionalDependency</h1><p>UDA for marking autowired dependencies optional.
Optional dependencies will not lead to a resolveException when there is no type registered for them.
The member will remain null.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">OptionalDependency</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,118 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function globalAutowire</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module selected">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function globalAutowire</h1><p>Autowire the given instance using the globally available dependency container.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">deprecated </span><span class="typ">void</span> <span class="pln">globalAutowire</span>(Type)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<span class="typ">Type</span> <span class="pln">instance</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section></section>
<section><h2>See Also</h2>
<p>DependencyContainer
</p>
</section>
<section><h2>Deprecated</h2>
<p>Using the global container is undesired. See DependencyContainer.getInstance().
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,191 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.container</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.container</h1><p>Contains the implementation of the dependency container.
</p><section><p>Part of the Poodinis Dependency Injection framework.
</p>
</section>
<section></section>
<section>
<h2>Classes</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="DependencyContainer" class="[&quot;public&quot;]" href="../poodinis/container/DependencyContainer.html">DependencyContainer</a>
</code>
</td>
<td>The dependency container maintains all dependencies registered with it.
</td>
</tr>
<tr>
<td>
<code>
<a id="RegistrationException" class="[&quot;public&quot;]" href="../poodinis/container/RegistrationException.html">RegistrationException</a>
</code>
</td>
<td>Exception thrown when errors occur while registering a type in a dependency container.
</td>
</tr>
<tr>
<td>
<code>
<a id="ResolveException" class="[&quot;public&quot;]" href="../poodinis/container/ResolveException.html">ResolveException</a>
</code>
</td>
<td>Exception thrown when errors occur while resolving a type in a dependency container.
</td>
</tr>
</table>
</section>
<section>
<h2>Structs</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="PostConstruct" class="[&quot;public&quot;]" href="../poodinis/container/PostConstruct.html">PostConstruct</a>
</code>
</td>
<td>Methods marked with this UDA within dependencies are called after that dependency
is constructed by the dependency container.
</td>
</tr>
<tr>
<td>
<code>
<a id="PreDestroy" class="[&quot;public&quot;]" href="../poodinis/container/PreDestroy.html">PreDestroy</a>
</code>
</td>
<td>Methods marked with this UDA within dependencies are called before the container
loses the dependency's registration.
</td>
</tr>
</table>
</section>
<section>
<h2>Enums</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="RegistrationOption" class="[&quot;public&quot;]" href="../poodinis/container/RegistrationOption.html">RegistrationOption</a>
</code>
</td>
<td>Options which influence the process of registering dependencies
</td>
</tr>
<tr>
<td>
<code>
<a id="ResolveOption" class="[&quot;public&quot;]" href="../poodinis/container/ResolveOption.html">ResolveOption</a>
</code>
</td>
<td>Options which influence the process of resolving dependencies
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,105 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.clearAllRegistrations</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.clearAllRegistrations</h1><p>Clears all dependency registrations managed by this container.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">synchronized </span><span class="typ">void</span> <span class="pln">clearAllRegistrations
<span class="pun">()</span><span class="pln"> </span><span class="kwd">shared</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,221 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Class DependencyContainer</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Class DependencyContainer</h1><p>The dependency container maintains all dependencies registered with it.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">class</span> <span class="typ">DependencyContainer</span>
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>Dependencies registered by a container can be resolved as long as they are still registered with the container.
Upon resolving a dependency, an instance is fetched according to a specific scope which dictates how instances of
dependencies are created. Resolved dependencies will be autowired before being returned.
</p>
<p> In most cases you want to use a global singleton dependency container provided by getInstance() to manage all dependencies.
You can still create new instances of this class for exceptional situations.
</p>
</section>
<section><h2>Methods</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.clearAllRegistrations.html" class="[&quot;public&quot;]">
<code>clearAllRegistrations</code>
</a>
</td>
<td>Clears all dependency registrations managed by this container.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.register.html" class="[&quot;public&quot;]">
<code>register</code>
</a>
</td>
<td>Register a dependency by concrete class type.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.register.html" class="[&quot;public&quot;]">
<code>register</code>
</a>
</td>
<td>Register a dependency by super type.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.removeRegistration.html" class="[&quot;public&quot;]">
<code>removeRegistration</code>
</a>
</td>
<td>Removes a registered dependency by type.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.resolve.html" class="[&quot;public&quot;]">
<code>resolve</code>
</a>
</td>
<td>Resolve dependencies.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.resolve.html" class="[&quot;public&quot;]">
<code>resolve</code>
</a>
</td>
<td>Resolve dependencies using a qualifier.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.resolveAll.html" class="[&quot;public&quot;]">
<code>resolveAll</code>
</a>
</td>
<td>Resolve all dependencies registered to a super type.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html" class="[&quot;public&quot;]">
<code>setPersistentRegistrationOptions</code>
</a>
</td>
<td>Apply persistent registration options which will be used everytime register() is called.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.setPersistentResolveOptions.html" class="[&quot;public&quot;]">
<code>setPersistentResolveOptions</code>
</a>
</td>
<td>Apply persistent resolve options which will be used everytime resolve() is called.
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html" class="[&quot;public&quot;]">
<code>unsetPersistentRegistrationOptions</code>
</a>
</td>
<td>Unsets all applied persistent registration options
</td>
</tr>
<tr>
<td>
<a href="../../poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html" class="[&quot;public&quot;]">
<code>unsetPersistentResolveOptions</code>
</a>
</td>
<td>Unsets all applied persistent resolve options
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,176 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DependencyContainer.register - multiple declarations</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>DependencyContainer.register - multiple declarations</h1>
<nav class="page-nav">
<ul>
<li>
<a href="#0">
Function <code>DependencyContainer.register</code>
</a>
</li>
<li>
<a href="#1">
Function <code>DependencyContainer.register</code>
</a>
</li>
</ul>
</nav><h2 id="0">Function DependencyContainer.register</h2><p>Register a dependency by concrete class type.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">Registration</span> <span class="pln">register</span>(ConcreteType)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/RegistrationOption.html"><span class="typ">RegistrationOption</span></a> <span class="pln">options</span> <span class="pun">=</span> <span class="typ">RegistrationOption<wbr/></span><span class="pun">.</span><span class="pln">none</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>A dependency registered by concrete class type can only be resolved by concrete class type.
No qualifiers can be used when resolving dependencies which are registered by concrete type.
</p>
<p> The default registration scope is "single instance" scope.
</p>
</section>
<section><h3>Returns</h3>
<p>A registration is returned which can be used to change the registration scope.
</p>
</section>
<section><h3>Examples</h3>
<p>Register and resolve a class by concrete type:
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Cat </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!</span><span class="typ">Cat</span><span class="pun">;</span></code></pre>
</section>
<section><h3>See Also</h3>
<p>singleInstance, newInstance, existingInstance
</p>
</section>
<h2 id="1">Function DependencyContainer.register</h2><p>Register a dependency by super type.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">Registration</span> <span class="pln">register</span>(SuperType, ConcreteType)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/RegistrationOption.html"><span class="typ">RegistrationOption</span></a> <span class="pln">options</span> <span class="pun">=</span> <span class="typ">RegistrationOption<wbr/></span><span class="pun">.</span><span class="pln">none</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>A dependency registered by super type can only be resolved by super type. A qualifier is typically
used to resolve dependencies registered by super type.
</p>
<p> The default registration scope is "single instance" scope.
</p>
</section>
<section><h3>Examples</h3>
<p>Register and resolve by super type
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Cat </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Cat</span><span class="pun">);</span></code></pre>
</section>
<section><h3>See Also</h3>
<p>singleInstance, newInstance, existingInstance, RegistrationOption
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,111 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.removeRegistration</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.removeRegistration</h1><p>Removes a registered dependency by type.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">void</span> <span class="pln">removeRegistration(RegistrationType)
<span class="pun">()</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>A dependency can be removed either by super type or concrete type, depending on how they are registered.
</p>
</section>
<section><h2>Examples</h2>
<pre class="code"><code class="lang-d"><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">removeRegistration</span><span class="pun">!</span><span class="typ">Animal</span><span class="pun">;</span></code></pre>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,203 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DependencyContainer.resolve - multiple declarations</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>DependencyContainer.resolve - multiple declarations</h1>
<nav class="page-nav">
<ul>
<li>
<a href="#0">
Function <code>DependencyContainer.resolve</code>
</a>
</li>
<li>
<a href="#1">
Function <code>DependencyContainer.resolve</code>
</a>
</li>
</ul>
</nav><h2 id="0">Function DependencyContainer.resolve</h2><p>Resolve dependencies.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">RegistrationType</span> <span class="pln">resolve</span>(RegistrationType)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/ResolveOption.html"><span class="typ">ResolveOption</span></a> <span class="pln">resolveOptions</span> <span class="pun">=</span> <span class="typ">ResolveOption<wbr/></span><span class="pun">.</span><span class="pln">none</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>Dependencies can only resolved using this method if they are registered by concrete type or the only
concrete type registered by super type.
</p>
<p> Resolved dependencies are automatically autowired before being returned.
</p>
</section>
<section><h3>Returns</h3>
<p>An instance is returned which is created according to the registration scope with which they are registered.
</p>
</section>
<section><h3>Throws</h3>
<p>ResolveException when type is not registered.
</p>
</section>
<section><h3>Examples</h3>
<p>Resolve dependencies registered by super type and concrete type:
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Cat </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="kwd">class </span><span class="typ">Dog </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Cat</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!</span><span class="typ">Dog</span><span class="pun">;
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolve</span><span class="pun">!</span><span class="typ">Animal</span><span class="pun">;
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolve</span><span class="pun">!</span><span class="typ">Dog</span><span class="pun">;</span></code></pre>
<p> You cannot resolve a dependency when it is registered by multiple super types:
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Cat </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="kwd">class </span><span class="typ">Dog </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Cat</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Dog</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolve</span><span class="pun">!</span><span class="typ">Animal</span><span class="pun">; </span><span class="com">// Error: multiple candidates for type "Animal"
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolve</span><span class="pun">!</span><span class="typ">Dog</span><span class="pun">; </span><span class="com">// Error: No type is registered by concrete type "Dog", only by super type "Animal"</span></code></pre>
<p> You need to use the resolve method which allows you to specify a qualifier.
</p>
</section>
<h2 id="1">Function DependencyContainer.resolve</h2><p>Resolve dependencies using a qualifier.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">QualifierType</span> <span class="pln">resolve</span>(RegistrationType, QualifierType)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/ResolveOption.html"><span class="typ">ResolveOption</span></a> <span class="pln">resolveOptions</span> <span class="pun">=</span> <span class="typ">ResolveOption<wbr/></span><span class="pun">.</span><span class="pln">none</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>Dependencies can only resolved using this method if they are registered by super type.
</p>
<p> Resolved dependencies are automatically autowired before being returned.
</p>
</section>
<section><h3>Returns</h3>
<p>An instance is returned which is created according to the registration scope with which they are registered.
</p>
</section>
<section><h3>Throws</h3>
<p>ResolveException when type is not registered or there are multiple candidates available for type.
</p>
</section>
<section><h3>Examples</h3>
<p>Resolve dependencies registered by super type:
</p>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Cat </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="kwd">class </span><span class="typ">Dog </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Cat</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Dog</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolve</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Cat</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolve</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Dog</span><span class="pun">);</span></code></pre>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,123 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.resolveAll</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.resolveAll</h1><p>Resolve all dependencies registered to a super type.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">RegistrationType</span><span class="pun">[]</span> <span class="pln">resolveAll</span>(RegistrationType)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/ResolveOption.html"><span class="typ">ResolveOption</span></a> <span class="pln">resolveOptions</span> <span class="pun">=</span> <span class="typ">ResolveOption<wbr/></span><span class="pun">.</span><span class="pln">none</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section></section>
<section><h2>Returns</h2>
<p>An array of autowired instances is returned. The order is undetermined.
</p>
</section>
<section><h2>Examples</h2>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">Cat </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="kwd">class </span><span class="typ">Dog </span><span class="pun">: </span><span class="typ">Animal </span><span class="pun">{ ... }
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Cat</span><span class="pun">);
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">Animal</span><span class="pun">, </span><span class="typ">Dog</span><span class="pun">);
</span><span class="typ">Animal</span><span class="pun">[] </span><span class="pln">animals </span><span class="pun">= </span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">resolveAll</span><span class="pun">!</span><span class="typ">Animal</span><span class="pun">;</span></code></pre>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,109 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.setPersistentRegistrationOptions</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.setPersistentRegistrationOptions</h1><p>Apply persistent registration options which will be used everytime register() is called.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">synchronized </span><span class="typ">void</span> <span class="pln">setPersistentRegistrationOptions</span>
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/RegistrationOption.html"><span class="typ">RegistrationOption</span></a> <span class="pln">options</span>
<br/>
<span class="pun">)</span><span class="pln"> </span><span class="kwd">shared</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,109 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.setPersistentResolveOptions</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.setPersistentResolveOptions</h1><p>Apply persistent resolve options which will be used everytime resolve() is called.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">synchronized </span><span class="typ">void</span> <span class="pln">setPersistentResolveOptions</span>
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<a href="../../poodinis/container/ResolveOption.html"><span class="typ">ResolveOption</span></a> <span class="pln">options</span>
<br/>
<span class="pun">)</span><span class="pln"> </span><span class="kwd">shared</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,105 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.unsetPersistentRegistrationOptions</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.unsetPersistentRegistrationOptions</h1><p>Unsets all applied persistent registration options
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">synchronized </span><span class="typ">void</span> <span class="pln">unsetPersistentRegistrationOptions
<span class="pun">()</span><span class="pln"> </span><span class="kwd">shared</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,105 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function DependencyContainer.unsetPersistentResolveOptions</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function DependencyContainer.unsetPersistentResolveOptions</h1><p>Unsets all applied persistent resolve options
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">synchronized </span><span class="typ">void</span> <span class="pln">unsetPersistentResolveOptions
<span class="pun">()</span><span class="pln"> </span><span class="kwd">shared</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,110 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct PostConstruct</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct PostConstruct</h1><p>Methods marked with this UDA within dependencies are called after that dependency
is constructed by the dependency container.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">PostConstruct</span>
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>Multiple methods can be marked and will all be called after construction. The order in which
methods are called is undetermined. Methods should have the signature void(void).
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,110 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct PreDestroy</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct PreDestroy</h1><p>Methods marked with this UDA within dependencies are called before the container
loses the dependency's registration.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">PreDestroy</span>
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>This method is called when removeRegistration or clearAllRegistrations is called.
It will also be called when the container's destructor is called.
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Class RegistrationException</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Class RegistrationException</h1><p>Exception thrown when errors occur while registering a type in a dependency container.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">class</span> <span class="typ">RegistrationException</span>
<br>&nbsp;&nbsp;: <span class="pln">object<wbr/></span><span class="pun">.</span><span class="typ">Exception</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,121 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Enum RegistrationOption</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Enum RegistrationOption</h1><p>Options which influence the process of registering dependencies
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">enum</span> <span class="typ">RegistrationOption</span>
<span class="pun">:</span> <span class="typ">int</span> <span class="pun">{ ... }</span>
</div>
</code>
</div>
<section><h2>Enum members</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td id="doNotAddConcreteTypeRegistration">
<code>doNotAddConcreteTypeRegistration</code>
</td>
<td>Prevent a concrete type being registered on itself. With this option you will always need
to use the supertype as the type of the dependency.
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Class ResolveException</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Class ResolveException</h1><p>Exception thrown when errors occur while resolving a type in a dependency container.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">class</span> <span class="typ">ResolveException</span>
<br>&nbsp;&nbsp;: <span class="pln">object<wbr/></span><span class="pun">.</span><span class="typ">Exception</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,130 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Enum ResolveOption</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Enum ResolveOption</h1><p>Options which influence the process of resolving dependencies
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">enum</span> <span class="typ">ResolveOption</span>
<span class="pun">:</span> <span class="typ">int</span> <span class="pun">{ ... }</span>
</div>
</code>
</div>
<section><h2>Enum members</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td id="noResolveException">
<code>noResolveException</code>
</td>
<td>Does not throw a resolve exception when a type is not registered but will
return null instead. If the type is an array, an empty array is returned instead.
</td>
</tr>
<tr>
<td id="registerBeforeResolving">
<code>registerBeforeResolving</code>
</td>
<td>Registers the type you're trying to resolve before returning it.
This essentially makes registration optional for resolving by concerete types.
Resolinvg will still fail when trying to resolve a dependency by supertype.
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

156
docs/poodinis/context.html Normal file
View file

@ -0,0 +1,156 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.context</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.context</h1><p>Contains the implementation of application context setup.
</p><section><p>Part of the Poodinis Dependency Injection framework.
</p>
</section>
<section></section>
<section>
<h2>Functions</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="registerContext" class="[&quot;public&quot;]" href="../poodinis/context/registerContext.html">registerContext</a><span class="decoration">(container)</span>
</code>
</td>
<td>Register dependencies through an application context.
</td>
</tr>
</table>
</section>
<section>
<h2>Structs</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="Component" class="[&quot;public&quot;]" href="../poodinis/context/Component.html">Component</a>
</code>
</td>
<td>A component annotation is used for specifying which factory methods produce components in
an application context.
</td>
</tr>
<tr>
<td>
<code>
<a id="Prototype" class="[&quot;public&quot;]" href="../poodinis/context/Prototype.html">Prototype</a>
</code>
</td>
<td>Components with the prototype registration will be scoped as dependencies which will create
new instances every time they are resolved. The factory method will be called repeatedly.
</td>
</tr>
<tr>
<td>
<code>
<a id="RegisterByType" class="[&quot;public&quot;]" href="../poodinis/context/RegisterByType.html">RegisterByType</a>
</code>
</td>
<td>This annotation allows you to specify by which super type the component should be registered. This
enables you to use type-qualified alternatives for dependencies.
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct Component</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct Component</h1><p>A component annotation is used for specifying which factory methods produce components in
an application context.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">Component</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct Prototype</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct Prototype</h1><p>Components with the prototype registration will be scoped as dependencies which will create
new instances every time they are resolved. The factory method will be called repeatedly.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">Prototype</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct RegisterByType</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct RegisterByType</h1><p>This annotation allows you to specify by which super type the component should be registered. This
enables you to use type-qualified alternatives for dependencies.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">RegisterByType</span>(Type)
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,114 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function registerContext</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function registerContext</h1><p>Register dependencies through an application context.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">void</span> <span class="pln">registerContext</span>(Context)
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<span class="kwd">shared</span><span class="pun">(</span><a href="../../poodinis/container/DependencyContainer.html"><span class="typ">DependencyContainer</span></a><span class="pun">)</span> <span class="pln">container</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>An application context allows you to fine-tune dependency set-up and instantiation.
It is mostly used for dependencies which come from an external library or when you don't
want to use annotations to set-up dependencies in your classes.
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,97 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.factory</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.factory</h1><p>This module contains instance factory facilities
</p><section></section>
<section></section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

115
docs/poodinis/polyfill.html Normal file
View file

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.polyfill</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.polyfill</h1><p>Forward-compatibility module for providing support for Phobos functionality
not available in older versions of Phobos.
</p><section><p>Should not implement functionalitiy which is gone from the latest Phobos.
</p>
<p> Implementations copied/re-implemented from std.exception and std.traits;
</p>
<p> The baseline compatibility is D/Phobos 2.068.2
</p>
</section>
<section></section>
</div>
<footer>
<div id="license-info">
<p>erdani.org, Andrei Alexandrescu,
Jonathan M Davis,
digitalmars.com, Walter Bright,
Tomasz Stachowiak (<code class="lang-d"><span class="pln">isExpressions</span></code>),
erdani.org, Andrei Alexandrescu,
Shin Fujishiro,
octarineparrot.com, Robert Clipsham,
klickverbot.at, David Nadlinger,
Kenji Hara,
Shoichi Kato,
Mike Bierlee (m.bierlee@lostmoment.com)
</p>
<p>Copyright Digital Mars 2005 - 2009., Copyright Andrei Alexandrescu 2008-, Jonathan M Davis 2011-., 2014-2017 Mike Bierlee
</p>
<p>boost.org/LICENSE_1_0.txt, Boost License 1.0
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,135 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.registration</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.registration</h1><p>This module contains objects for defining and scoping dependency registrations.
</p><section><p>Part of the Poodinis Dependency Injection framework.
</p>
</section>
<section></section>
<section>
<h2>Functions</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="existingInstance" class="[&quot;public&quot;]" href="../poodinis/registration/existingInstance.html">existingInstance</a><span class="decoration">(registration, instance)</span>
</code>
</td>
<td>Scopes registrations to return the given instance every time the given registration is resolved.
</td>
</tr>
<tr>
<td>
<code>
<a id="newInstance" class="[&quot;public&quot;]" href="../poodinis/registration/newInstance.html">newInstance</a><span class="decoration">(registration)</span>
</code>
</td>
<td>Scopes registrations to return a new instance every time the given registration is resolved.
</td>
</tr>
<tr>
<td>
<code>
<a id="singleInstance" class="[&quot;public&quot;]" href="../poodinis/registration/singleInstance.html">singleInstance</a><span class="decoration">(registration)</span>
</code>
</td>
<td>Scopes registrations to return the same instance every time a given registration is resolved.
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,111 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function existingInstance</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function existingInstance</h1><p>Scopes registrations to return the given instance every time the given registration is resolved.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="pln">poodinis<wbr/></span><span class="pun">.</span><span class="pln">registration<wbr/></span><span class="pun">.</span><span class="typ">Registration</span> <span class="pln">existingInstance</span>
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<span class="pln">poodinis<wbr/></span><span class="pun">.</span><span class="pln">registration<wbr/></span><span class="pun">.</span><span class="typ">Registration</span> <span class="pln">registration</span><span class="pun">,</span>
<br/>
&nbsp;&nbsp;<span class="typ">Object</span> <span class="pln">instance</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,109 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function newInstance</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function newInstance</h1><p>Scopes registrations to return a new instance every time the given registration is resolved.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="pln">poodinis<wbr/></span><span class="pun">.</span><span class="pln">registration<wbr/></span><span class="pun">.</span><span class="typ">Registration</span> <span class="pln">newInstance</span>
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<span class="pln">poodinis<wbr/></span><span class="pun">.</span><span class="pln">registration<wbr/></span><span class="pun">.</span><span class="typ">Registration</span> <span class="pln">registration</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,112 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function singleInstance</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function singleInstance</h1><p>Scopes registrations to return the same instance every time a given registration is resolved.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="pln">poodinis<wbr/></span><span class="pun">.</span><span class="pln">registration<wbr/></span><span class="pun">.</span><span class="typ">Registration</span> <span class="pln">singleInstance</span>
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<span class="pln">poodinis<wbr/></span><span class="pun">.</span><span class="pln">registration<wbr/></span><span class="pun">.</span><span class="typ">Registration</span> <span class="pln">registration</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>Effectively makes the given registration a singleton.
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,170 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Module poodinis.valueinjection</title>
<link rel="stylesheet" href="../css/style.min.css"/>
<script type="text/javascript" src="../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Module poodinis.valueinjection</h1><p>This module contains facilities to support value injection. Actual injection is done by the
autowiring mechanism.
</p><section></section>
<section></section>
<section>
<h2>Interfaces</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="ValueInjector" class="[&quot;public&quot;]" href="../poodinis/valueinjection/ValueInjector.html">ValueInjector</a>
</code>
</td>
<td>Interface which should be implemented by value injectors.
</td>
</tr>
</table>
</section>
<section>
<h2>Classes</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="ValueInjectionException" class="[&quot;public&quot;]" href="../poodinis/valueinjection/ValueInjectionException.html">ValueInjectionException</a>
</code>
</td>
<td>Thrown when something goes wrong during value injection.
</td>
</tr>
<tr>
<td>
<code>
<a id="ValueNotAvailableException" class="[&quot;public&quot;]" href="../poodinis/valueinjection/ValueNotAvailableException.html">ValueNotAvailableException</a>
</code>
</td>
<td>Thrown by injectors when the value with the given key cannot be found.
</td>
</tr>
</table>
</section>
<section>
<h2>Structs</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<code>
<a id="MandatoryValue" class="[&quot;public&quot;]" href="../poodinis/valueinjection/MandatoryValue.html">MandatoryValue</a>
</code>
</td>
<td>UDA used for marking class members which should be value-injected.
</td>
</tr>
<tr>
<td>
<code>
<a id="Value" class="[&quot;public&quot;]" href="../poodinis/valueinjection/Value.html">Value</a>
</code>
</td>
<td>UDA used for marking class members which should be value-injected.
</td>
</tr>
</table>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,134 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct MandatoryValue</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct MandatoryValue</h1><p>UDA used for marking class members which should be value-injected.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">MandatoryValue</span>
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>When the injector throws a ValueNotAvailableException, it is re-thrown
instead of being suppressed.
</p>
<p> A key must be supplied, which can be in any format depending on how
a value injector reads it.
</p>
</section>
<section><h2>Fields</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Type</th><th>Description</th>
</tr>
<tr>
<td>
<a href="../../poodinis/valueinjection/MandatoryValue.key.html" class="[&quot;public&quot;]"><code>key</code></a>
</td>
<td class="typecol"><code class="prettyprint lang-d"><span class="typ">string</span></code></td><td>The textual key used to find the value by injectors.
</td>
</tr>
</table>
</section>
<section><h2>Examples</h2>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">MyClass </span><span class="pun">{
@</span><span class="typ">MandatoryValue</span><span class="pun">(</span><span class="str">"general.valueWhichShouldBeThere"</span><span class="pun">)
</span><span class="kwd">private </span><span class="typ">int </span><span class="pln">number</span><span class="pun">;
}</span></code></pre>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,120 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Variable MandatoryValue.key</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Variable MandatoryValue.key</h1><p>The textual key used to find the value by injectors.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <a href="../../poodinis/valueinjection/MandatoryValue.html"><span class="typ">MandatoryValue</span></a>
<br/>
<span class="pun">
{
<br/>
</span>
&nbsp;&nbsp;<span class="com">// ...</span>
<br/>
&nbsp;&nbsp;<span class="typ">string</span> <span class="pln">key</span>
<span class="pun">;</span>
<br/>
&nbsp;&nbsp;<span class="com">// ...</span>
<br/>
<span class="pun">}</span>
</div>
</code>
</div>
<section><p>The format is injector-specific.
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,134 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Struct Value</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Struct Value</h1><p>UDA used for marking class members which should be value-injected.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <span class="typ">Value</span>
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>A key must be supplied, which can be in any format depending on how
a value injector reads it.
</p>
<p> When the injector throws a ValueNotAvailableException, the value is
not injected and will keep its original assignment.
</p>
</section>
<section><h2>Fields</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Type</th><th>Description</th>
</tr>
<tr>
<td>
<a href="../../poodinis/valueinjection/Value.key.html" class="[&quot;public&quot;]"><code>key</code></a>
</td>
<td class="typecol"><code class="prettyprint lang-d"><span class="typ">string</span></code></td><td>The textual key used to find the value by injectors.
</td>
</tr>
</table>
</section>
<section><h2>Examples</h2>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">MyClass </span><span class="pun">{
@</span><span class="typ">Value</span><span class="pun">(</span><span class="str">"general.importantNumber"</span><span class="pun">)
</span><span class="kwd">private </span><span class="typ">int </span><span class="pln">number </span><span class="pun">= </span><span class="lit">8</span><span class="pun">;
}</span></code></pre>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,120 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Variable Value.key</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Variable Value.key</h1><p>The textual key used to find the value by injectors.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">struct</span> <a href="../../poodinis/valueinjection/Value.html"><span class="typ">Value</span></a>
<br/>
<span class="pun">
{
<br/>
</span>
&nbsp;&nbsp;<span class="com">// ...</span>
<br/>
&nbsp;&nbsp;<span class="typ">string</span> <span class="pln">key</span>
<span class="pun">;</span>
<br/>
&nbsp;&nbsp;<span class="com">// ...</span>
<br/>
<span class="pun">}</span>
</div>
</code>
</div>
<section><p>The format is injector-specific.
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Class ValueInjectionException</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Class ValueInjectionException</h1><p>Thrown when something goes wrong during value injection.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">class</span> <span class="typ">ValueInjectionException</span>
<br>&nbsp;&nbsp;: <span class="pln">object<wbr/></span><span class="pun">.</span><span class="typ">Exception</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,117 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Function ValueInjector.get</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Function ValueInjector.get</h1><p>Get a value from the injector by key.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="typ">Type</span> <span class="pln">get</span>
<span class="pun">(</span>
<br/>
&nbsp;&nbsp;<span class="typ">string</span> <span class="pln">key</span>
<br/>
<span class="pun">)</span><span class="pun">;</span>
</div>
</code>
</div>
<section><p>The key can have any format. Generally you are encouraged
to accept a dot separated path, for example: server.http.port
</p>
</section>
<section><h2>Throws</h2>
<p>ValueNotAvailableException when the value for the given key is not available for any reason
</p>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,142 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Interface ValueInjector</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Interface ValueInjector</h1><p>Interface which should be implemented by value injectors.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">interface</span> <span class="typ">ValueInjector</span>(Type)
<span class="pun">;</span>
</div>
</code>
</div>
<section><p>Each value injector injects one specific type. The type can be any primitive
type or that of a struct. While class types are also supported, value injectors
are not intended for them.
</p>
<p> Note that value injectors are also autowired before being used. Values within dependencies of
a value injector are not injected. Neither are values within the value injector itself.
</p>
<p> Value injection is not supported for constructor injection.
</p>
</section>
<section><h2>Methods</h2>
<table>
<col class="caption"/>
<tr>
<th>Name</th><th>Description</th>
</tr>
<tr>
<td>
<a href="../../poodinis/valueinjection/ValueInjector.get.html" class="[&quot;public&quot;]">
<code>get</code>
</a>
</td>
<td>Get a value from the injector by key.
</td>
</tr>
</table>
</section>
<section><h2>Examples</h2>
<pre class="code"><code class="lang-d"><span class="kwd">class </span><span class="typ">MyIntInjector </span><span class="pun">: </span><span class="typ">ValueInjector</span><span class="pun">!</span><span class="typ">int </span><span class="pun">{
</span><span class="kwd">public override </span><span class="typ">int <a href="../../poodinis/valueinjection/ValueInjector.get.html"></span><span class="pln">get</span></a><span class="pun">(</span><span class="typ">string </span><span class="pln">key</span><span class="pun">) { ... }
}
</span><span class="com">// In order to make the container use your injector, register it by interface:
</span><span class="pln">container<wbr/></span><span class="pun">.</span><span class="pln">register</span><span class="pun">!(</span><span class="typ">ValueInjector</span><span class="pun">!</span><span class="typ">int</span><span class="pun">, </span><span class="typ">MyIntInjector</span><span class="pun">);</span></code></pre>
</section>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,106 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Class ValueNotAvailableException</title>
<link rel="stylesheet" href="../../css/style.min.css"/>
<script type="text/javascript" src="../../js/script.min.js"></script>
</head>
<body onload="setupDdox();">
<header></header>
<nav id="main-nav">
<div>
<noscript>
<p style="color: red">The search functionality needs JavaScript enabled</p>
</noscript>
<div id="symbolSearchPane" style="display: none">
<form action="#" method="GET">
<input id="symbolSearch" type="text" name="q" placeholder="Search for symbols" autocomplete="off" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();" autofocus/>
</form>
<ul id="symbolSearchResults" class="symbolList" style="display: none"></ul><script type="application/javascript" src="../../symbols.js"></script><script type="application/javascript">var symbolSearchRootDir = "../../";
document.getElementById('symbolSearchPane').style.display = 'block';</script>
</div>
<ul class="tree-view">
<li class="tree-view ">
<div class="package ">
<a href="../../poodinis.html">poodinis</a>
</div>
<ul class="tree-view">
<li>
<div class="module ">
<a href="../../poodinis/autowire.html">autowire</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/container.html">container</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/context.html">context</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/factory.html">factory</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/polyfill.html">polyfill</a>
</div>
</li>
<li>
<div class="module ">
<a href="../../poodinis/registration.html">registration</a>
</div>
</li>
<li>
<div class="module selected">
<a href="../../poodinis/valueinjection.html">valueinjection</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
<p id="main-nav-footer">
Built with
<a href="https://github.com/MartinNowak/scod">scod</a>
</p>
</nav>
<div id="main-contents">
<div>
<h1>Class ValueNotAvailableException</h1><p>Thrown by injectors when the value with the given key cannot be found.
</p>
<div class="prototype">
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">class</span> <span class="typ">ValueNotAvailableException</span>
<br>&nbsp;&nbsp;: <span class="pln">object<wbr/></span><span class="pun">.</span><span class="typ">Exception</span>
<span class="pun">;</span>
</div>
</code>
</div>
</div>
<footer>
<div id="license-info">
<p>Mike Bierlee, m.bierlee@lostmoment.com
</p>
<p>2014-2017 Mike Bierlee
</p>
<p>This software is licensed under the terms of the MIT license.
The full terms of the license can be found in the LICENSE file.
</p>
</div>
</footer>
</div>
</body>
</html>

50
docs/sitemap.xml Normal file
View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc>http://127.0.0.1/index.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/autowire.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/autowire/AssignNewInstance.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/autowire/autowire.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/autowire/Autowire.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/autowire/globalAutowire.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/autowire/OptionalDependency.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.clearAllRegistrations.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.register.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.register.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.removeRegistration.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.resolve.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.resolve.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.resolveAll.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.setPersistentResolveOptions.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/PostConstruct.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/PreDestroy.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/RegistrationException.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/RegistrationOption.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/ResolveException.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/container/ResolveOption.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/context.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/context/Component.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/context/Prototype.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/context/RegisterByType.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/context/registerContext.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/factory.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/polyfill.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/registration.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/registration/existingInstance.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/registration/newInstance.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/registration/singleInstance.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/MandatoryValue.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/MandatoryValue.key.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/Value.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/Value.key.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/ValueInjectionException.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/ValueInjector.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/ValueInjector.get.html</loc></url>
<url><loc>http://127.0.0.1/poodinis/valueinjection/ValueNotAvailableException.html</loc></url>
<url><loc>http://127.0.0.1/poodinis.html</loc></url>
</urlset>

50
docs/symbols.js Normal file
View file

@ -0,0 +1,50 @@
// symbol index generated by DDOX - do not edit
var symbols = [
{name: 'poodinis.autowire', kind: "module", path: './poodinis/autowire.html', attributes: []},
{name: 'poodinis.autowire.AssignNewInstance', kind: "structdeclaration", path: './poodinis/autowire/AssignNewInstance.html', attributes: []},
{name: 'poodinis.autowire.autowire', kind: "functiondeclaration", path: './poodinis/autowire/autowire.html', attributes: []},
{name: 'poodinis.autowire.Autowire', kind: "structdeclaration", path: './poodinis/autowire/Autowire.html', attributes: []},
{name: 'poodinis.autowire.globalAutowire', kind: "functiondeclaration", path: './poodinis/autowire/globalAutowire.html', attributes: ["deprecated"]},
{name: 'poodinis.autowire.OptionalDependency', kind: "structdeclaration", path: './poodinis/autowire/OptionalDependency.html', attributes: []},
{name: 'poodinis.container', kind: "module", path: './poodinis/container.html', attributes: []},
{name: 'poodinis.container.DependencyContainer', kind: "classdeclaration", path: './poodinis/container/DependencyContainer.html', attributes: []},
{name: 'poodinis.container.DependencyContainer.clearAllRegistrations', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.clearAllRegistrations.html', attributes: ["synchronized", "shared"]},
{name: 'poodinis.container.DependencyContainer.register', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.register.html', attributes: []},
{name: 'poodinis.container.DependencyContainer.removeRegistration', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.removeRegistration.html', attributes: []},
{name: 'poodinis.container.DependencyContainer.resolve', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.resolve.html', attributes: []},
{name: 'poodinis.container.DependencyContainer.resolveAll', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.resolveAll.html', attributes: []},
{name: 'poodinis.container.DependencyContainer.setPersistentRegistrationOptions', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.setPersistentRegistrationOptions.html', attributes: ["synchronized", "shared"]},
{name: 'poodinis.container.DependencyContainer.setPersistentResolveOptions', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.setPersistentResolveOptions.html', attributes: ["synchronized", "shared"]},
{name: 'poodinis.container.DependencyContainer.unsetPersistentRegistrationOptions', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.unsetPersistentRegistrationOptions.html', attributes: ["synchronized", "shared"]},
{name: 'poodinis.container.DependencyContainer.unsetPersistentResolveOptions', kind: "functiondeclaration", path: './poodinis/container/DependencyContainer.unsetPersistentResolveOptions.html', attributes: ["synchronized", "shared"]},
{name: 'poodinis.container.PostConstruct', kind: "structdeclaration", path: './poodinis/container/PostConstruct.html', attributes: []},
{name: 'poodinis.container.PreDestroy', kind: "structdeclaration", path: './poodinis/container/PreDestroy.html', attributes: []},
{name: 'poodinis.container.RegistrationException', kind: "classdeclaration", path: './poodinis/container/RegistrationException.html', attributes: []},
{name: 'poodinis.container.RegistrationOption', kind: "enumdeclaration", path: './poodinis/container/RegistrationOption.html', attributes: []},
{name: 'poodinis.container.RegistrationOption.doNotAddConcreteTypeRegistration', kind: "enummemberdeclaration", path: './poodinis/container/RegistrationOption.html#doNotAddConcreteTypeRegistration', attributes: []},
{name: 'poodinis.container.ResolveException', kind: "classdeclaration", path: './poodinis/container/ResolveException.html', attributes: []},
{name: 'poodinis.container.ResolveOption', kind: "enumdeclaration", path: './poodinis/container/ResolveOption.html', attributes: []},
{name: 'poodinis.container.ResolveOption.noResolveException', kind: "enummemberdeclaration", path: './poodinis/container/ResolveOption.html#noResolveException', attributes: []},
{name: 'poodinis.container.ResolveOption.registerBeforeResolving', kind: "enummemberdeclaration", path: './poodinis/container/ResolveOption.html#registerBeforeResolving', attributes: []},
{name: 'poodinis.context', kind: "module", path: './poodinis/context.html', attributes: []},
{name: 'poodinis.context.Component', kind: "structdeclaration", path: './poodinis/context/Component.html', attributes: []},
{name: 'poodinis.context.Prototype', kind: "structdeclaration", path: './poodinis/context/Prototype.html', attributes: []},
{name: 'poodinis.context.RegisterByType', kind: "structdeclaration", path: './poodinis/context/RegisterByType.html', attributes: []},
{name: 'poodinis.context.registerContext', kind: "functiondeclaration", path: './poodinis/context/registerContext.html', attributes: []},
{name: 'poodinis.factory', kind: "module", path: './poodinis/factory.html', attributes: []},
{name: 'poodinis.polyfill', kind: "module", path: './poodinis/polyfill.html', attributes: []},
{name: 'poodinis.registration', kind: "module", path: './poodinis/registration.html', attributes: []},
{name: 'poodinis.registration.existingInstance', kind: "functiondeclaration", path: './poodinis/registration/existingInstance.html', attributes: []},
{name: 'poodinis.registration.newInstance', kind: "functiondeclaration", path: './poodinis/registration/newInstance.html', attributes: []},
{name: 'poodinis.registration.singleInstance', kind: "functiondeclaration", path: './poodinis/registration/singleInstance.html', attributes: []},
{name: 'poodinis.valueinjection', kind: "module", path: './poodinis/valueinjection.html', attributes: []},
{name: 'poodinis.valueinjection.MandatoryValue', kind: "structdeclaration", path: './poodinis/valueinjection/MandatoryValue.html', attributes: []},
{name: 'poodinis.valueinjection.MandatoryValue.key', kind: "variabledeclaration", path: './poodinis/valueinjection/MandatoryValue.key.html', attributes: []},
{name: 'poodinis.valueinjection.Value', kind: "structdeclaration", path: './poodinis/valueinjection/Value.html', attributes: []},
{name: 'poodinis.valueinjection.Value.key', kind: "variabledeclaration", path: './poodinis/valueinjection/Value.key.html', attributes: []},
{name: 'poodinis.valueinjection.ValueInjectionException', kind: "classdeclaration", path: './poodinis/valueinjection/ValueInjectionException.html', attributes: []},
{name: 'poodinis.valueinjection.ValueInjector', kind: "interfacedeclaration", path: './poodinis/valueinjection/ValueInjector.html', attributes: []},
{name: 'poodinis.valueinjection.ValueInjector.get', kind: "functiondeclaration", path: './poodinis/valueinjection/ValueInjector.get.html', attributes: []},
{name: 'poodinis.valueinjection.ValueNotAvailableException', kind: "classdeclaration", path: './poodinis/valueinjection/ValueNotAvailableException.html', attributes: []},
{name: 'poodinis', kind: "module", path: './poodinis.html', attributes: []},
];