Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 1389

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

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Car</title>
    <link rel="stylesheet" type="text/css" href="../../../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>Car</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>



<span name="cs_wiki_filter" csw_filters="cs">

<div class="FormattedSourceCode"><div class="fscHeader"><span class="fscFileName">Car.cs</span></div><div class="fscCode"><pre ID="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41"><div><!--

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

--><span style="color: #008080;">01</span><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Open_Text').style.display='inline';"/><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_0_67_Open_Text"><span style="color: #008000;">/*</span><span style="color: #008000;"> Copyright (C) 2004 - 2008 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;">02</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;"> System;
</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;">using</span><span style="color: #000000;"> Db4objects.Db4o.TA;
</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;">using</span><span style="color: #000000;"> Db4objects.Db4o.Activation;
</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 src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/></span><span style="color: #0000FF;">namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.TP.Rollback
</span><span style="color: #008080;">07</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Open_Text').style.display='inline';"/></span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_184_2143_Open_Text"><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;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">class</span><span style="color: #000000;"> Car : IActivatable
</span><span style="color: #008080;">09</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Open_Text').style.display='inline';"/>    </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_226_2141_Open_Text"><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"/>        </span><span style="color: #0000FF;">private</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> _model;
</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;"> Pilot _pilot;
</span><span style="color: #008080;">12</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_297_336_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;">13</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        [System.NonSerialized]
</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;">public</span><span style="color: #000000;"> IActivator _activator;
</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: #008080;">16</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</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: #0000FF;">public</span><span style="color: #000000;"> Car(</span><span style="color: #0000FF;">string</span><span style="color: #000000;"> model, Pilot pilot)
</span><span style="color: #008080;">18</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_462_529_Open_Text"><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"/>            _model </span><span style="color: #000000;">=</span><span style="color: #000000;"> model;
</span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _pilot </span><span style="color: #000000;">=</span><span style="color: #000000;"> pilot;
</span><span style="color: #008080;">21</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;">22</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;"> end Car</span><span style="color: #008000;">
</span><span style="color: #008080;">23</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">
</span><span style="color: #008080;">24</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">/**/</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_558_632_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;">25</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;">26</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_688_975_Open_Text"><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;">if</span><span style="color: #000000;"> (_activator </span><span style="color: #000000;">==</span><span style="color: #000000;"> activator)
</span><span style="color: #008080;">28</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Open_Text').style.display='inline';"/>            </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_743_782_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"/>                </span><span style="color: #0000FF;">return</span><span style="color: #000000;">;
</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/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;">32</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Open_Text').style.display='inline';"/>            </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_852_929_Open_Text"><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"/>                </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;">34</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;">35</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;">36</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;">37</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;"> end Bind</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: #008080;">39</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;">40</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1061_1174_Open_Text"><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;">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;">42</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;">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><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: #008000;">//</span><span style="color: #008000;"> end Activate</span><span style="color: #008000;">
</span><span style="color: #008080;">46</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">
</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;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> Model
</span><span style="color: #008080;">48</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1236_1500_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">49</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;">50</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Open_Text').style.display='inline';"/>            </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1267_1363_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">51</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Read);
</span><span style="color: #008080;">52</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;"> _model;
</span><span style="color: #008080;">53</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;">54</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">set</span><span style="color: #000000;">
</span><span style="color: #008080;">55</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Open_Text').style.display='inline';"/>            </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1392_1490_Open_Text"><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"/>                Activate(ActivationPurpose.Write);
</span><span style="color: #008080;">57</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                _model </span><span style="color: #000000;">=</span><span style="color: #000000;"> value;
</span><span style="color: #008080;">58</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;">59</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;">60</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</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: #0000FF;">public</span><span style="color: #000000;"> Pilot Pilot
</span><span style="color: #008080;">62</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1537_1800_Open_Text"><span style="color: #000000;">{
</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;">get</span><span style="color: #000000;">
</span><span style="color: #008080;">64</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Open_Text').style.display='inline';"/>            </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1567_1663_Open_Text"><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"/>                Activate(ActivationPurpose.Read);
</span><span style="color: #008080;">66</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;"> _pilot;
</span><span style="color: #008080;">67</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;">68</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">set</span><span style="color: #000000;">
</span><span style="color: #008080;">69</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Open_Text').style.display='inline';"/>            </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1692_1790_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">70</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Write);
</span><span style="color: #008080;">71</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                _pilot </span><span style="color: #000000;">=</span><span style="color: #000000;"> value;
</span><span style="color: #008080;">72</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;">73</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;">74</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">75</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;"> ChangePilot(String name, </span><span style="color: #0000FF;">int</span><span style="color: #000000;"> id)
</span><span style="color: #008080;">76</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1863_1940_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">77</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _pilot.Name </span><span style="color: #000000;">=</span><span style="color: #000000;"> name;
</span><span style="color: #008080;">78</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _pilot.Id.Change(id);
</span><span style="color: #008080;">79</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;">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 src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </span><span style="color: #0000FF;">override</span><span style="color: #000000;"> </span><span style="color: #0000FF;">public</span><span style="color: #000000;"> </span><span style="color: #0000FF;">string</span><span style="color: #000000;"> ToString()
</span><span style="color: #008080;">82</span><span style="color: #000000;"><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Open_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Closed_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Closed_Text').style.display='inline';"/><img id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Closed_Text').style.display='none'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Open_Image').style.display='inline'; document.getElementById('....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Open_Text').style.display='inline';"/>        </span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">...</span><span id="....RollbackCS.ZipsCar.Cs_Car.Cs_57_41_1992_2111_Open_Text"><span style="color: #000000;">{
</span><span style="color: #008080;">83</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            Activate(ActivationPurpose.Read);
</span><span style="color: #008080;">84</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;">string</span><span style="color: #000000;">.Format(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">{0}[{1}]</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, _model, _pilot);
</span><span style="color: #008080;">85</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;">86</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;"> end ToString</span><span style="color: #008000;">
</span><span style="color: #008080;">87</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;">88</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">Car.vb</span></div><div class="fscCode"><pre ID="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41"><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 - 2008 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: #000000;">
</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;"> System
</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
</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: #0000FF;">Imports</span><span style="color: #000000;"> Db4objects.Db4o.TA
</span><span style="color: #008080;">06</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;">07</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/None.gif" align="top"/>
</span><span style="color: #008080;">08</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Open_Text').style.display='inline';"/></span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Namespace Db4objects</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_168_2370_Open_Text"><span style="color: #0000FF;">Namespace</span><span style="color: #000000;"> Db4objects.Db4odoc.TP.Rollback
</span><span style="color: #008080;">09</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Open_Text').style.display='inline';"/>    </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Class Car</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_220_2356_Open_Text"><span style="color: #0000FF;">Class</span><span style="color: #000000;"> Car
</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;">Implements</span><span style="color: #000000;"> IActivatable
</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;"> _model </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;">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;"> _pilot </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> Pilot
</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: #008000;">'</span><span style="color: #008000;">activator registered for this class</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: #008080;">15</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>        </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;">Public</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 src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">19</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub New()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_454_576_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;"> model </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: #0000FF;">ByVal</span><span style="color: #000000;"> pilot </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> Pilot)
</span><span style="color: #008080;">20</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _model </span><span style="color: #000000;">=</span><span style="color: #000000;"> model
</span><span style="color: #008080;">21</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _pilot </span><span style="color: #000000;">=</span><span style="color: #000000;"> pilot
</span><span style="color: #008080;">22</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;">23</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;"> end Car</span><span style="color: #008000;">
</span><span style="color: #008080;">24</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">
</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 src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">
</span><span style="color: #008080;">27</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Bind()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_692_1054_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;">28</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;">29</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;">30</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;">31</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;">IsNot</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Nothing</span><span style="color: #000000;"> </span><span style="color: #0000FF;">AndAlso</span><span style="color: #000000;"> _activator </span><span style="color: #0000FF;">IsNot</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;">32</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;">33</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;">34</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;">35</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;">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;"> end Bind</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: #008080;">38</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub Activate()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1090_1312_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;">39</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;">40</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;">41</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;">42</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _activator.Activate(purpose)
</span><span style="color: #008080;">43</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;">44</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;"> end Activate</span><span style="color: #008000;">
</span><span style="color: #008080;">45</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/></span><span style="color: #000000;">
</span><span style="color: #008080;">46</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Model()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1352_1654_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Model() </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;">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"/>                Activate(ActivationPurpose.Read)
</span><span style="color: #008080;">49</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;"> _model
</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;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;">
</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;">Set</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;">String</span><span style="color: #000000;">)
</span><span style="color: #008080;">52</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Write)
</span><span style="color: #008080;">53</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                _model </span><span style="color: #000000;">=</span><span style="color: #000000;"> value
</span><span style="color: #008080;">54</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;">Set</span><span style="color: #000000;">
</span><span style="color: #008080;">55</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;">56</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">57</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Property Pilot()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1671_1971_Open_Text"><span style="color: #0000FF;">Property</span><span style="color: #000000;"> Pilot() </span><span style="color: #0000FF;">As</span><span style="color: #000000;"> Pilot
</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;">Get</span><span style="color: #000000;">
</span><span style="color: #008080;">59</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Read)
</span><span style="color: #008080;">60</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;"> _pilot
</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: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Get</span><span style="color: #000000;">
</span><span style="color: #008080;">62</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            </span><span style="color: #0000FF;">Set</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;"> Pilot)
</span><span style="color: #008080;">63</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                Activate(ActivationPurpose.Write)
</span><span style="color: #008080;">64</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>                _pilot </span><span style="color: #000000;">=</span><span style="color: #000000;"> value
</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: #0000FF;">End</span><span style="color: #000000;"> </span><span style="color: #0000FF;">Set</span><span style="color: #000000;">
</span><span style="color: #008080;">66</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;">67</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">68</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Open_Text').style.display='inline';"/>        </span><span style="color: #0000FF;">Public</span><span style="color: #000000;"> </span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Sub ChangePilot()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_1988_2126_Open_Text"><span style="color: #0000FF;">Sub</span><span style="color: #000000;"> ChangePilot(</span><span style="color: #0000FF;">ByVal</span><span style="color: #000000;"> name </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: #0000FF;">ByVal</span><span style="color: #000000;"> id </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;">69</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _pilot.Name </span><span style="color: #000000;">=</span><span style="color: #000000;"> name
</span><span style="color: #008080;">70</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            _pilot.Id.Change(id)
</span><span style="color: #008080;">71</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;">72</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>
</span><span style="color: #008080;">73</span><span style="color: #000000;"><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Open_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Open_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Closed_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Closed_Text').style.display='inline';"/><img id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Closed_Image" src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ContractedSubBlock.gif" align="top" style="display: none;" onClick="this.style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Closed_Text').style.display='none'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Open_Image').style.display='inline'; document.getElementById('....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_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="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_Closed_Text" style="border: solid 1px #808080; background-color: #FFFFFF; display: none;">Function ToString()</span><span id="....RollbackVB.ZipsCar.Vb_Car.Vb_162_41_2163_2319_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;">74</span><span style="color: #000000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/InBlock.gif" align="top"/>            Activate(ActivationPurpose.Read)
</span><span style="color: #008080;">75</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;">String</span><span style="color: #000000;">.Format(</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">{0}[{1}]</span><span style="color: #800000;">&quot;</span><span style="color: #000000;">, _model, _pilot)
</span><span style="color: #008080;">76</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;">77</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;"> end ToString</span><span style="color: #008000;">
</span><span style="color: #008080;">78</span><span style="color: #008000;"><img src="../../../../Utility/ActiPro.CodeHighligher/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top"/></span><span style="color: #000000;">    </span><span style="color: #0000FF;">End Class</span></span><span style="color: #000000;">
</span><span style="color: #008080;">79</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>

</span></div>
    </div>
    <div id="footer">
					This revision (1) was last Modified 2008-03-02T09:34:55 by Tetyana.
				</div>
  </body>
</html>