Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 792

db4o-doc-7.4-2.fc13.i686.rpm

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Detailed Example</title>
    <link rel="stylesheet" type="text/css" href="../../../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>Detailed Example</h1><script>
//We attach this function to a browser object as a variable so that if multiple of these blocks are
//present on the same page, then they will simply over-write eachother with the same function instead
//of generating a naming collision.
window.WikiCodeFormattingCopyToClipboard = function copyToClipboard(sID){
	var sContent = document.getElementById(sID).innerText;
	if( window.clipboardData && clipboardData.setData )
	{
		clipboardData.setData("Text", sContent);
	}
	else
	{
		alert("You must enable javascript access to your clipboard for this feature to work. Please referr to your browser documentation or Google search for instructions.");
	}
}
</script>

<p>Let's look at the manual Transparent Activation implementation. This example will help you to understand how TA is implemented under the hood. </p><p>We will take the example class from the <a href="../../activation.html" class="wikiLink">Activation</a> chapter and modify it to enable TA:</p>
<ul>
<li>implement <code>Activatable</code> interface (<code>bind</code> method)</li>
<li>add <code>_activator</code> variable to keep the current activator;</li>
<li>create <code>activate()</code> method;</li>
<li>call <code>activate()</code> method each time field objects are required.</li></ul></p>
<p><span name="cs_wiki_filter" csw_filters="cs"><br></p>
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">SensorPanelTA.cs</span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">001</span><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Open_Text').style.display='inline';"/><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_0_67_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;"> Copyright (C) 2004 - 2007 db4objects Inc. </span><span style="color: #008000; text-decoration: underline;">http://www.db4o.com</span><span style="color: #008000;"> </span><span style="color: #008000;">*/</span></span><span style="color: #000000;">
</span><span style="color: #008080;">002</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> Db4objects.Db4o;
</span><span style="color: #008080;">003</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> Db4objects.Db4o.Activation;
</span><span style="color: #008080;">004</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">using</span><span style="color: #000000;"> Db4objects.Db4o.TA;
</span><span style="color: #008080;">005</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/>
</span><span style="color: #008080;">006</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">namespace</span><span style="color: #000000;"> Db4ojects.Db4odoc.TAExamples
</span><span style="color: #008080;">007</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Open_Text').style.display='inline';"/></span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_191_2624_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">008</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Open_Text').style.display='inline';"/>    </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> SensorPanelTA </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_224_261_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;">must implement Activatable for TA</span><span style="color: #008000;">*/</span></span><span style="color: #000000;">: IActivatable
</span><span style="color: #008080;">009</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Open_Text').style.display='inline';"/>    </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_280_2621_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">010</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">object</span><span style="color: #000000;"> _sensor;
</span><span style="color: #008080;">011</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">012</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">private</span><span style="color: #000000;"> SensorPanelTA _next;
</span><span style="color: #008080;">013</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">014</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_361_400_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;">activator registered for this class</span><span style="color: #008000;">*/</span></span><span style="color: #000000;">
</span><span style="color: #008080;">015</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        [System.NonSerialized]
</span><span style="color: #008080;">016</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        IActivator _activator;
</span><span style="color: #008080;">017</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">018</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> SensorPanelTA()
</span><span style="color: #008080;">019</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_503_567_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">020</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #008000;">//</span><span style="color: #008000;"> default constructor for instantiation</span><span style="color: #008000;">
</span><span style="color: #008080;">021</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/></span><span style="color: #000000;">        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">022</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">023</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> SensorPanelTA(</span><span style="color: #0000FF;">int</span><span style="color: #000000;"> value)
</span><span style="color: #008080;">024</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_617_657_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">025</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _sensor </span><span style="color: #000000;">=</span><span style="color: #000000;"> value;
</span><span style="color: #008080;">026</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">027</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">028</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_667_741_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;">Bind the class to the specified object container, create the activator</span><span style="color: #008000;">*/</span></span><span style="color: #000000;">
</span><span style="color: #008080;">029</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Bind(IActivator activator)
</span><span style="color: #008080;">030</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_797_1084_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">031</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (_activator </span><span style="color: #000000;">==</span><span style="color: #000000;"> activator)
</span><span style="color: #008080;">032</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_852_891_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">033</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">return</span><span style="color: #000000;">;
</span><span style="color: #008080;">034</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">035</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (activator </span><span style="color: #000000;">!=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;"> </span><span style="color: #000000;">&amp;&amp;</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;"> </span><span style="color: #000000;">!=</span><span style="color: #000000;"> _activator)
</span><span style="color: #008080;">036</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_961_1038_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">037</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">throw</span><span style="color: #000000;"> </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> System.InvalidOperationException();
</span><span style="color: #008080;">038</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">039</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _activator </span><span style="color: #000000;">=</span><span style="color: #000000;"> activator;
</span><span style="color: #008080;">040</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">041</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">042</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1094_1284_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;">Call the registered activator to activate the next level,
</span><span style="color: #008080;">043</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>         * the activator remembers the objects that were already 
</span><span style="color: #008080;">044</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>         * activated and won't activate them twice. 
</span><span style="color: #008080;">045</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>         </span><span style="color: #008000;">*/</span></span><span style="color: #000000;">
</span><span style="color: #008080;">046</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> Activate(ActivationPurpose purpose)
</span><span style="color: #008080;">047</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1349_1462_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">048</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (_activator </span><span style="color: #000000;">==</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;">)
</span><span style="color: #008080;">049</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">return</span><span style="color: #000000;">;
</span><span style="color: #008080;">050</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _activator.Activate(purpose);
</span><span style="color: #008080;">051</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">052</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">053</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> SensorPanelTA Next
</span><span style="color: #008080;">054</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1506_1685_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">055</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">get</span><span style="color: #000000;">
</span><span style="color: #008080;">056</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1536_1675_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">057</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Open_Text').style.display='inline';"/>                </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1554_1581_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;">activate direct members</span><span style="color: #008000;">*/</span></span><span style="color: #000000;">
</span><span style="color: #008080;">058</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Read);
</span><span style="color: #008080;">059</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _next;
</span><span style="color: #008080;">060</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">061</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">062</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">063</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">object</span><span style="color: #000000;"> Sensor
</span><span style="color: #008080;">064</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1724_1905_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">065</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">get</span><span style="color: #000000;">
</span><span style="color: #008080;">066</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1754_1895_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">067</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Open_Text').style.display='inline';"/>                </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1772_1799_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;">activate direct members</span><span style="color: #008000;">*/</span></span><span style="color: #000000;">
</span><span style="color: #008080;">068</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Read);
</span><span style="color: #008080;">069</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> _sensor;
</span><span style="color: #008080;">070</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">071</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">072</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">073</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> SensorPanelTA CreateList(</span><span style="color: #0000FF;">int</span><span style="color: #000000;"> length)
</span><span style="color: #008080;">074</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_1967_2020_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">075</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> CreateList(length, </span><span style="color: #800080;">1</span><span style="color: #000000;">);
</span><span style="color: #008080;">076</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">077</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">078</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> SensorPanelTA CreateList(</span><span style="color: #0000FF;">int</span><span style="color: #000000;"> length, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> first)
</span><span style="color: #008080;">079</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2093_2392_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">080</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> val </span><span style="color: #000000;">=</span><span style="color: #000000;"> first;
</span><span style="color: #008080;">081</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            SensorPanelTA root </span><span style="color: #000000;">=</span><span style="color: #000000;"> NewElement(first);
</span><span style="color: #008080;">082</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            SensorPanelTA list </span><span style="color: #000000;">=</span><span style="color: #000000;"> root;
</span><span style="color: #008080;">083</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">while</span><span style="color: #000000;"> (</span><span style="color: #000000;">--</span><span style="color: #000000;">length </span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> </span><span style="color: #800080;">0</span><span style="color: #000000;">)
</span><span style="color: #008080;">084</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2260_2357_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">085</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                list._next </span><span style="color: #000000;">=</span><span style="color: #000000;"> NewElement(</span><span style="color: #000000;">++</span><span style="color: #000000;">val);
</span><span style="color: #008080;">086</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                list </span><span style="color: #000000;">=</span><span style="color: #000000;"> list.Next;
</span><span style="color: #008080;">087</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">088</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> root;
</span><span style="color: #008080;">089</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">090</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">091</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">protected</span><span style="color: #000000;"> SensorPanelTA NewElement(</span><span style="color: #0000FF;">int</span><span style="color: #000000;"> value)
</span><span style="color: #008080;">092</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2456_2512_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">093</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> SensorPanelTA(value);
</span><span style="color: #008080;">094</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">095</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">096</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">override</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> ToString()
</span><span style="color: #008080;">097</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsSensorPanelTA.Cs_SensorPanelTA.Cs_628_47_2564_2615_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">098</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Sensor #</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> Sensor;
</span><span style="color: #008080;">099</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">100</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>    }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">101</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">102</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>}</span></span></div></pre></div></div>
<p></span></p>
<p><span name="cs_wiki_filter" csw_filters="vb"><br></p>
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">SensorPanelTA.vb</span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">01</span><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #008000;">'</span><span style="color: #008000;"> Copyright (C) 2004 - 2007 db4objects Inc. http://www.db4o.com</span><span style="color: #008000;">
</span><span style="color: #008080;">02</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> Db4objects.Db4o
</span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> Db4objects.Db4o.Activation
</span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">Imports</span><span style="color: #000000;"> Db4objects.Db4o.TA
</span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/>
</span><span style="color: #008080;">06</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Open_Text').style.display='inline';"/></span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Namespace Db4ojects</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_151_2915_Open_Text"><span style="color: #0000FF;">Namespace</span><span style="color: #000000;"> Db4ojects.Db4odoc.TAExamples
</span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">08</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Open_Text').style.display='inline';"/>    </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Class SensorPanelTA</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_202_2901_Open_Text"><span style="color: #0000FF;">Class</span><span style="color: #000000;"> SensorPanelTA </span><span style="color: #008000;">'</span><span style="color: #008000;"> must implement Activatable for TA</span><span style="color: #008000;">
</span><span style="color: #008080;">09</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">        </span><span style="color: #0000FF;">Implements</span><span style="color: #000000;"> IActivatable
</span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _sensor </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Object</span><span style="color: #000000;">
</span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _next </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA
</span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #008000;">'</span><span style="color: #008000;"> activator registered for this class</span><span style="color: #008000;">
</span><span style="color: #008080;">15</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">        </span><span style="color: #000000;">&lt;</span><span style="color: #000000;">Transient()</span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> _
</span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">Private</span><span style="color: #000000;"> _activator </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IActivator
</span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">18</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub New()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_492_517_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;">()
</span><span style="color: #008080;">19</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;">
</span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">21</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub New()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_534_609_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;">(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> value </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">)
</span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _sensor </span><span style="color: #000000;">=</span><span style="color: #000000;"> value
</span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;">
</span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #008000;">'</span><span style="color: #008000;"> Bind the class to the specified object container, create the activator </span><span style="color: #008000;">
</span><span style="color: #008080;">26</span><span style="color: #008000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Open_Text').style.display='inline';"/></span><span style="color: #000000;">        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Bind()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_708_1065_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> Bind(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> activator </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IActivator) </span><span style="color: #0000FF;">Implements</span><span style="color: #000000;"> IActivatable.Bind
</span><span style="color: #008080;">27</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">If</span><span style="color: #000000;"> _activator </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> activator </span><span style="color: #0000FF;">Then</span><span style="color: #000000;">
</span><span style="color: #008080;">28</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Return</span><span style="color: #000000;">
</span><span style="color: #008080;">29</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">If</span><span style="color: #000000;">
</span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">If</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Not</span><span style="color: #000000;"> (activator </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Or</span><span style="color: #000000;"> _activator </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;">) </span><span style="color: #0000FF;">Then</span><span style="color: #000000;">
</span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Throw</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;"> System.InvalidOperationException()
</span><span style="color: #008080;">32</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">If</span><span style="color: #000000;">
</span><span style="color: #008080;">33</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _activator </span><span style="color: #000000;">=</span><span style="color: #000000;"> activator
</span><span style="color: #008080;">34</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;">
</span><span style="color: #008080;">35</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">36</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #008000;">'</span><span style="color: #008000;">Call the registered activator to activate the next level,</span><span style="color: #008000;">
</span><span style="color: #008080;">37</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">        </span><span style="color: #008000;">'</span><span style="color: #008000;"> the activator remembers the objects that were already </span><span style="color: #008000;">
</span><span style="color: #008080;">38</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">        </span><span style="color: #008000;">'</span><span style="color: #008000;"> activated and won't activate them twice. </span><span style="color: #008000;">
</span><span style="color: #008080;">39</span><span style="color: #008000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Open_Text').style.display='inline';"/></span><span style="color: #000000;">        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Activate()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1266_1488_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> Activate(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> purpose </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> ActivationPurpose) </span><span style="color: #0000FF;">Implements</span><span style="color: #000000;"> IActivatable.Activate
</span><span style="color: #008080;">40</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">If</span><span style="color: #000000;"> _activator </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Then</span><span style="color: #000000;">
</span><span style="color: #008080;">41</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Return</span><span style="color: #000000;">
</span><span style="color: #008080;">42</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">If</span><span style="color: #000000;">
</span><span style="color: #008080;">43</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _activator.Activate(purpose)
</span><span style="color: #008080;">44</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Sub</span></span><span style="color: #000000;">
</span><span style="color: #008080;">45</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">46</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">ReadOnly</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property NextSensor()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1514_1729_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> NextSensor() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA
</span><span style="color: #008080;">47</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Get</span><span style="color: #000000;">
</span><span style="color: #008080;">48</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #008000;">'</span><span style="color: #008000;"> activate direct members</span><span style="color: #008000;">
</span><span style="color: #008080;">49</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                Activate(ActivationPurpose.Read)
</span><span style="color: #008080;">50</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _next
</span><span style="color: #008080;">51</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;">
</span><span style="color: #008080;">52</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;">
</span><span style="color: #008080;">53</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">54</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">ReadOnly</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Sensor()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1755_1961_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Sensor() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Object</span><span style="color: #000000;">
</span><span style="color: #008080;">55</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Get</span><span style="color: #000000;">
</span><span style="color: #008080;">56</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #008000;">'</span><span style="color: #008000;"> activate direct members</span><span style="color: #008000;">
</span><span style="color: #008080;">57</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                Activate(ActivationPurpose.Read)
</span><span style="color: #008080;">58</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> _sensor
</span><span style="color: #008080;">59</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;">
</span><span style="color: #008080;">60</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Property</span></span><span style="color: #000000;">
</span><span style="color: #008080;">61</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">62</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function CreateList()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_1978_2101_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> CreateList(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> length </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">) </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA
</span><span style="color: #008080;">63</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> CreateList(length, </span><span style="color: #800080;">1</span><span style="color: #000000;">)
</span><span style="color: #008080;">64</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;">
</span><span style="color: #008080;">65</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">66</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function CreateList()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2118_2605_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> CreateList(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> length </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">, </span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> first </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">) </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA
</span><span style="color: #008080;">67</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> </span><span style="color: #0000FF;">val</span><span style="color: #000000;"> </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;"> </span><span style="color: #000000;">=</span><span style="color: #000000;"> first
</span><span style="color: #008080;">68</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> root </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA </span><span style="color: #000000;">=</span><span style="color: #000000;"> NewElement(first)
</span><span style="color: #008080;">69</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> list </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA </span><span style="color: #000000;">=</span><span style="color: #000000;"> root
</span><span style="color: #008080;">70</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">While</span><span style="color: #000000;"> System.Threading.Interlocked.Decrement(length) </span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> </span><span style="color: #800080;">0</span><span style="color: #000000;">
</span><span style="color: #008080;">71</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                list._next </span><span style="color: #000000;">=</span><span style="color: #000000;"> NewElement(System.Threading.Interlocked.Increment(</span><span style="color: #0000FF;">val</span><span style="color: #000000;">))
</span><span style="color: #008080;">72</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                list </span><span style="color: #000000;">=</span><span style="color: #000000;"> list.NextSensor
</span><span style="color: #008080;">73</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">While</span><span style="color: #000000;">
</span><span style="color: #008080;">74</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> root
</span><span style="color: #008080;">75</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;">
</span><span style="color: #008080;">76</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">77</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Protected</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function NewElement()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2625_2750_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> NewElement(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> value </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Integer</span><span style="color: #000000;">) </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA
</span><span style="color: #008080;">78</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> </span><span style="color: #0000FF;">New</span><span style="color: #000000;"> SensorPanelTA(value)
</span><span style="color: #008080;">79</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;">
</span><span style="color: #008080;">80</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">81</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Overloads</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Overrides</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function ToString()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsSensorPanelTA.Vb_SensorPanelTA.Vb_751_47_2787_2887_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> ToString() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> </span><span style="color: #0000FF;">String</span><span style="color: #000000;">
</span><span style="color: #008080;">82</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> </span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Sensor #</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> </span><span style="color: #000000;">+</span><span style="color: #000000;"> Sensor.ToString()
</span><span style="color: #008080;">83</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Function</span></span><span style="color: #000000;">
</span><span style="color: #008080;">84</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>    </span><span style="color: #0000FF;">End Class</span></span><span style="color: #000000;">
</span><span style="color: #008080;">85</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/></span><span style="color: #0000FF;">End Namespace</span></span></div></pre></div></div>
<p></span></p>
<p>As you can see from the example class we can call <code>activate()</code> to activate the field objects. However, transparent activation is currently not available directly on field variables, you will have to wrap them into methods.</p>
<p>Let's create a configuration for transparent activation:</p>

<span name="cs_wiki_filter" csw_filters="cs">
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">TAExample.cs: <span class="fscMemberName">ConfigureTA</span></span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">1</span><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">static</span><span style="color: #000000;"> IConfiguration ConfigureTA()
</span><span style="color: #008080;">2</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_ConfigureTA_1172_55_52_406_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">3</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            IConfiguration configuration </span><span style="color: #000000;">=</span><span style="color: #000000;"> Db4oFactory.NewConfiguration();
</span><span style="color: #008080;">4</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #008000;">//</span><span style="color: #008000;"> add TA support</span><span style="color: #008000;">
</span><span style="color: #008080;">5</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">            configuration.Add(</span><span style="color: #0000FF;">new</span><span style="color: #000000;"> TransparentActivationSupport());
</span><span style="color: #008080;">6</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #008000;">//</span><span style="color: #008000;"> activate TA diagnostics to reveal the classes that are not TA-enabled.
</span><span style="color: #008080;">7</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #008000;">//</span><span style="color: #008000;"> ActivateDiagnostics(configuration);</span><span style="color: #008000;">
</span><span style="color: #008080;">8</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">            </span><span style="color: #0000FF;">return</span><span style="color: #000000;"> configuration;
</span><span style="color: #008080;">9</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>        }</span></span></div></pre></div></div>
</span>
<span name="cs_wiki_filter" csw_filters="vb">
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">TAExample.vb: <span class="fscMemberName">ConfigureTA</span></span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">1</span><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Open_Text').style.display='inline';"/><span style="color: #0000FF;">Private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Shared</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function ConfigureTA()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_ConfigureTA_1285_55_15_415_Open_Text"><span style="color: #0000FF;">Function</span><span style="color: #000000;"> ConfigureTA() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IConfiguration
</span><span style="color: #008080;">2</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> configuration </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IConfiguration </span><span style="color: #000000;">=</span><span style="color: #000000;"> Db4oFactory.NewConfiguration
</span><span style="color: #008080;">3</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #008000;">'</span><span style="color: #008000;"> add TA support</span><span style="color: #008000;">
</span><span style="color: #008080;">4</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">            configuration.Add(</span><span style="color: #0000FF;">New</span><span style="color: #000000;"> TransparentActivationSupport)
</span><span style="color: #008080;">5</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #008000;">'</span><span style="color: #008000;"> activate TA diagnostics to reveal the classes that are not TA-enabled.</span><span style="color: #008000;">
</span><span style="color: #008080;">6</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">            </span><span style="color: #008000;">'</span><span style="color: #008000;"> ActivateDiagnostics(configuration)</span><span style="color: #008000;">
</span><span style="color: #008080;">7</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">            </span><span style="color: #0000FF;">Return</span><span style="color: #000000;"> configuration
</span><span style="color: #008080;">8</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Function</span></span></div></pre></div></div>
</span>
<p>We can test TA using the configuration above:</p>

<span name="cs_wiki_filter" csw_filters="cs">
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">TAExample.cs: <span class="fscMemberName">StoreSensorPanel</span></span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">01</span><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">static</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> StoreSensorPanel()
</span><span style="color: #008080;">02</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_47_573_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            File.Delete(Db4oFileName);
</span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            IObjectContainer container </span><span style="color: #000000;">=</span><span style="color: #000000;"> Database(Db4oFactory.NewConfiguration());
</span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (container </span><span style="color: #000000;">!=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;">)
</span><span style="color: #008080;">06</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_218_563_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">try</span><span style="color: #000000;">
</span><span style="color: #008080;">08</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Open_Text').style.display='inline';"/>                </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_256_452_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">09</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    </span><span style="color: #008000;">//</span><span style="color: #008000;"> create a linked list with length 10</span><span style="color: #008000;">
</span><span style="color: #008080;">10</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                    SensorPanelTA list </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">new</span><span style="color: #000000;"> SensorPanelTA().CreateList(</span><span style="color: #800080;">10</span><span style="color: #000000;">);
</span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    container.Set(list);
</span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>                }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">finally</span><span style="color: #000000;">
</span><span style="color: #008080;">14</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Open_Text').style.display='inline';"/>                </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_StoreSensorPanel_1454_60_493_549_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">15</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    CloseDatabase();
</span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>                }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">18</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>        }</span></span></div></pre></div></div>
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">TAExample.cs: <span class="fscMemberName">TestActivation</span></span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">01</span><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">static</span><span style="color: #000000;"> </span><span style="color: #0000FF;">void</span><span style="color: #000000;"> TestActivation()
</span><span style="color: #008080;">02</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Open_Text').style.display='inline';"/>        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_45_1179_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            StoreSensorPanel();
</span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            IConfiguration configuration </span><span style="color: #000000;">=</span><span style="color: #000000;"> ConfigureTA();
</span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            IObjectContainer container </span><span style="color: #000000;">=</span><span style="color: #000000;"> Database(configuration);
</span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (container </span><span style="color: #000000;">!=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;">)
</span><span style="color: #008080;">08</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Open_Text').style.display='inline';"/>            </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_251_1169_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">09</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">try</span><span style="color: #000000;">
</span><span style="color: #008080;">10</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Open_Text').style.display='inline';"/>                </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_289_1058_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    System.Console.WriteLine(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Zero activation depth</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">);
</span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    IObjectSet result </span><span style="color: #000000;">=</span><span style="color: #000000;"> container.Get(</span><span style="color: #0000FF;">new</span><span style="color: #000000;"> SensorPanelTA(</span><span style="color: #800080;">1</span><span style="color: #000000;">));
</span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    ListResult(result);
</span><span style="color: #008080;">14</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    </span><span style="color: #0000FF;">if</span><span style="color: #000000;"> (result.Size() </span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> </span><span style="color: #800080;">0</span><span style="color: #000000;">)
</span><span style="color: #008080;">15</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Open_Text').style.display='inline';"/>                    </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_542_1040_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        SensorPanelTA sensor </span><span style="color: #000000;">=</span><span style="color: #000000;"> (SensorPanelTA)result[</span><span style="color: #800080;">0</span><span style="color: #000000;">];
</span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #008000;">//</span><span style="color: #008000;"> the object is a linked list, so each call to next()
</span><span style="color: #008080;">18</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #008000;">//</span><span style="color: #008000;"> will need to activate a new object</span><span style="color: #008000;">
</span><span style="color: #008080;">19</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                        SensorPanelTA next </span><span style="color: #000000;">=</span><span style="color: #000000;"> sensor.Next;
</span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #0000FF;">while</span><span style="color: #000000;"> (next </span><span style="color: #000000;">!=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">null</span><span style="color: #000000;">)
</span><span style="color: #008080;">21</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Open_Text').style.display='inline';"/>                        </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_885_1018_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                            System.Console.WriteLine(next);
</span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                            next </span><span style="color: #000000;">=</span><span style="color: #000000;"> next.Next;
</span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>                        }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">25</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>                    }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">26</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>                }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">27</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">finally</span><span style="color: #000000;">
</span><span style="color: #008080;">28</span><span style="color: #000000;"><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Open_Text').style.display='inline';"/>                </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesCS.ZipsTAExample.Cs_TAExample.Cs_TestActivation_1516_58_1099_1155_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">29</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    CloseDatabase();
</span><span style="color: #008080;">30</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>                }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">31</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/>            }</span></span><span style="color: #000000;">
</span><span style="color: #008080;">32</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>        }</span></span></div></pre></div></div>
</span>
<span name="cs_wiki_filter" csw_filters="vb">
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">TAExample.vb: <span class="fscMemberName">StoreSensorPanel</span></span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">01</span><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Open_Text').style.display='inline';"/><span style="color: #0000FF;">Private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Shared</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub StoreSensorPanel()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_StoreSensorPanel_1632_60_15_529_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> StoreSensorPanel()
</span><span style="color: #008080;">02</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            File.Delete(Db4oFileName)
</span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> container </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IObjectContainer </span><span style="color: #000000;">=</span><span style="color: #000000;"> Database(Db4oFactory.NewConfiguration)
</span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">If</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Not</span><span style="color: #000000;"> (container </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;">) </span><span style="color: #0000FF;">Then</span><span style="color: #000000;">
</span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Try</span><span style="color: #000000;">
</span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    </span><span style="color: #008000;">'</span><span style="color: #008000;"> create a linked list with length 10</span><span style="color: #008000;">
</span><span style="color: #008080;">07</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                    </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> list </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA </span><span style="color: #000000;">=</span><span style="color: #000000;"> (</span><span style="color: #0000FF;">New</span><span style="color: #000000;"> SensorPanelTA).CreateList(</span><span style="color: #800080;">10</span><span style="color: #000000;">)
</span><span style="color: #008080;">08</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    container.Set(list)
</span><span style="color: #008080;">09</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Finally</span><span style="color: #000000;">
</span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    CloseDatabase()
</span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Try</span><span style="color: #000000;">
</span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">If</span><span style="color: #000000;">
</span><span style="color: #008080;">13</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Sub</span></span></div></pre></div></div>
<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">TAExample.vb: <span class="fscMemberName">TestActivation</span></span></div><div class="fscCode"><pre ID="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58"><div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--><span style="color: #008080;">01</span><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Open_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Closed_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Closed_Text').style.display='inline';"/><img id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Closed_Text').style.display='none'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Open_Image').style.display='inline'; document.getElementById('ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Open_Text').style.display='inline';"/><span style="color: #0000FF;">Private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Shared</span><span style="color: #000000;"> </span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub TestActivation()</span><span id="ResourcesReferenceObject_LifecycleActivationTransparent_Activation_FrameworkTAExamplesVB.ZipsTAExample.Vb_TAExample.Vb_TestActivation_1694_58_15_1172_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> TestActivation()
</span><span style="color: #008080;">02</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            StoreSensorPanel()
</span><span style="color: #008080;">03</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> configuration </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IConfiguration </span><span style="color: #000000;">=</span><span style="color: #000000;"> ConfigureTA()
</span><span style="color: #008080;">04</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> container </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IObjectContainer </span><span style="color: #000000;">=</span><span style="color: #000000;"> Database(configuration)
</span><span style="color: #008080;">05</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">If</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Not</span><span style="color: #000000;"> (container </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;">) </span><span style="color: #0000FF;">Then</span><span style="color: #000000;">
</span><span style="color: #008080;">06</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Try</span><span style="color: #000000;">
</span><span style="color: #008080;">07</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    System.Console.WriteLine(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Zero activation depth</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">)
</span><span style="color: #008080;">08</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> result </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> IObjectSet </span><span style="color: #000000;">=</span><span style="color: #000000;"> container.Get(</span><span style="color: #0000FF;">New</span><span style="color: #000000;"> SensorPanelTA(</span><span style="color: #800080;">1</span><span style="color: #000000;">))
</span><span style="color: #008080;">09</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    ListResult(result)
</span><span style="color: #008080;">10</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    </span><span style="color: #0000FF;">If</span><span style="color: #000000;"> result.Size </span><span style="color: #000000;">&gt;</span><span style="color: #000000;"> </span><span style="color: #800080;">0</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Then</span><span style="color: #000000;">
</span><span style="color: #008080;">11</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> sensor </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000FF;">CType</span><span style="color: #000000;">(result(</span><span style="color: #800080;">0</span><span style="color: #000000;">), SensorPanelTA)
</span><span style="color: #008080;">12</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #008000;">'</span><span style="color: #008000;"> the object is a linked list, so each call to next()</span><span style="color: #008000;">
</span><span style="color: #008080;">13</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                        </span><span style="color: #008000;">'</span><span style="color: #008000;"> will need to activate a new object</span><span style="color: #008000;">
</span><span style="color: #008080;">14</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">                        </span><span style="color: #0000FF;">Dim</span><span style="color: #000000;"> nextSensor </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> SensorPanelTA </span><span style="color: #000000;">=</span><span style="color: #000000;"> sensor.NextSensor
</span><span style="color: #008080;">15</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #0000FF;">While</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Not</span><span style="color: #000000;"> (nextSensor </span><span style="color: #0000FF;">Is</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;">)
</span><span style="color: #008080;">16</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                            System.Console.WriteLine(nextSensor)
</span><span style="color: #008080;">17</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                            nextSensor </span><span style="color: #000000;">=</span><span style="color: #000000;"> nextSensor.NextSensor
</span><span style="color: #008080;">18</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                        </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">While</span><span style="color: #000000;">
</span><span style="color: #008080;">19</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">If</span><span style="color: #000000;">
</span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">Finally</span><span style="color: #000000;">
</span><span style="color: #008080;">21</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                    CloseDatabase()
</span><span style="color: #008080;">22</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Try</span><span style="color: #000000;">
</span><span style="color: #008080;">23</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">If</span><span style="color: #000000;">
</span><span style="color: #008080;">24</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockEnd.gif" align="top"/>        </span><span style="color: #0000FF;">End Sub</span></span></div></pre></div></div>
</span></div>
    </div>
    <div id="footer">
					This revision (9) was last Modified 2007-09-30T10:39:35 by Tetyana.
				</div>
  </body>
</html>