167. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/10/2017 1:01:47 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

167.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IV-ehmp_cif\VixInstallerSolution2013.root\VixInstallerSolution2013\VixInstaller ImagingExchangeSiteService.cs Thu Jun 29 17:22:33 2017 UTC
2 C:\AraxisMergeCompare\Pri_re\IV-ehmp_cif\VixInstallerSolution2013.root\VixInstallerSolution2013\VixInstaller ImagingExchangeSiteService.cs Thu Jul 6 15:06:43 2017 UTC

167.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 10 1092
Changed 9 20
Inserted 0 0
Removed 0 0

167.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

167.4 Active regular expressions

No regular expressions were active.

167.5 Comparison detail

  1   //-------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
  2   // <auto-g enerated>
  3   //     Thi s code was  generated  by a tool .
  4   //     Run time Versi on:2.0.507 27.832
  5   //
  6   //     Cha nges to th is file ma y cause in correct be havior and  will be l ost if
  7   //     the  code is r egenerated .
  8   // </auto- generated>
  9   //-------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
  10  
  11   using Syst em;
  12   using Syst em.Compone ntModel;
  13   using Syst em.Diagnos tics;
  14   using Syst em.Web.Ser vices;
  15   using Syst em.Web.Ser vices.Prot ocols;
  16   using Syst em.Xml.Ser ialization ;
  17  
  18   // 
  19   // This so urce code  was auto-g enerated b y wsdl, Ve rsion=2.0. 50727.42.
  20   // 
  21  
  22  
  23   /// <remar ks/>
  24   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  25   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  26   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  27   [System.We b.Services .WebServic eBindingAt tribute(Na me="Imagin gExchangeS iteService Soap", Nam espace="ht tp://vista web. URL         /webservic es/Imaging ExchangeSi teService" )]
  28   public par tial class  ImagingEx changeSite Service :  System.Web .Services. Protocols. SoapHttpCl ientProtoc ol {
  29       
  30       privat e System.T hreading.S endOrPostC allback ge tVISNOpera tionComple ted;
  31       
  32       privat e System.T hreading.S endOrPostC allback ge tSitesOper ationCompl eted;
  33       
  34       privat e System.T hreading.S endOrPostC allback ge tSiteOpera tionComple ted;
  35       
  36       privat e System.T hreading.S endOrPostC allback ge tImagingEx changeSite sOperation Completed;
  37       
  38       /// <r emarks/>
  39       public  ImagingEx changeSite Service()  {
  40             this.Url =  "http://s iteserver. DNS        . DNS     /VistaWebS vcs/Imagin gExchangeS iteService .asmx";
  41       }
  42       
  43       /// <r emarks/>
  44       public  event get VISNComple tedEventHa ndler getV ISNComplet ed;
  45       
  46       /// <r emarks/>
  47       public  event get SitesCompl etedEventH andler get SitesCompl eted;
  48       
  49       /// <r emarks/>
  50       public  event get SiteComple tedEventHa ndler getS iteComplet ed;
  51       
  52       /// <r emarks/>
  53       public  event get ImagingExc hangeSites CompletedE ventHandle r getImagi ngExchange SitesCompl eted;
  54       
  55       /// <r emarks/>
  56         [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http://vis taweb. URL         /webservic es/Imaging ExchangeSi teService/ getVISN",  RequestNam espace="ht tp://vista web. URL         /webservic es/Imaging ExchangeSi teService" , Response Namespace= "http://vi staweb. URL         /webservic es/Imaging ExchangeSi teService" , Use=Syst em.Web.Ser vices.Desc ription.So apBindingU se.Literal , Paramete rStyle=Sys tem.Web.Se rvices.Pro tocols.Soa pParameter Style.Wrap ped)]
  57       public  ImagingEx changeRegi onTO getVI SN(string  regionID)  {
  58           ob ject[] res ults = thi s.Invoke(" getVISN",  new object [] {
  59                         regionID}) ;
  60           re turn ((Ima gingExchan geRegionTO )(results[ 0]));
  61       }
  62       
  63       /// <r emarks/>
  64       public  System.IA syncResult  BegingetV ISN(string  regionID,  System.As yncCallbac k callback , object a syncState)  {
  65           re turn this. BeginInvok e("getVISN ", new obj ect[] {
  66                         regionID},  callback,  asyncStat e);
  67       }
  68       
  69       /// <r emarks/>
  70       public  ImagingEx changeRegi onTO Endge tVISN(Syst em.IAsyncR esult asyn cResult) {
  71           ob ject[] res ults = thi s.EndInvok e(asyncRes ult);
  72           re turn ((Ima gingExchan geRegionTO )(results[ 0]));
  73       }
  74       
  75       /// <r emarks/>
  76       public  void getV ISNAsync(s tring regi onID) {
  77           th is.getVISN Async(regi onID, null );
  78       }
  79       
  80       /// <r emarks/>
  81       public  void getV ISNAsync(s tring regi onID, obje ct userSta te) {
  82           if  ((this.ge tVISNOpera tionComple ted == nul l)) {
  83                this.get VISNOperat ionComplet ed = new S ystem.Thre ading.Send OrPostCall back(this. OngetVISNO perationCo mpleted);
  84           }
  85           th is.InvokeA sync("getV ISN", new  object[] {
  86                         regionID},  this.getV ISNOperati onComplete d, userSta te);
  87       }
  88       
  89       privat e void Ong etVISNOper ationCompl eted(objec t arg) {
  90           if  ((this.ge tVISNCompl eted != nu ll)) {
  91                System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs inv okeArgs =  ((System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs)(ar g));
  92                this.get VISNComple ted(this,  new getVIS NCompleted EventArgs( invokeArgs .Results,  invokeArgs .Error, in vokeArgs.C ancelled,  invokeArgs .UserState ));
  93           }
  94       }
  95       
  96       /// <r emarks/>
  97         [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http://vis taweb. URL         /webservic es/Imaging ExchangeSi teService/ getSites",  RequestNa mespace="h ttp://vist aweb. URL         /webservic es/Imaging ExchangeSi teService" , Response Namespace= "http://vi staweb. URL         /webservic es/Imaging ExchangeSi teService" , Use=Syst em.Web.Ser vices.Desc ription.So apBindingU se.Literal , Paramete rStyle=Sys tem.Web.Se rvices.Pro tocols.Soa pParameter Style.Wrap ped)]
  98       public  ImagingEx changeSite TO[] getSi tes(string  siteIDs)  {
  99           ob ject[] res ults = thi s.Invoke(" getSites",  new objec t[] {
  100                         siteIDs});
  101           re turn ((Ima gingExchan geSiteTO[] )(results[ 0]));
  102       }
  103       
  104       /// <r emarks/>
  105       public  System.IA syncResult  BegingetS ites(strin g siteIDs,  System.As yncCallbac k callback , object a syncState)  {
  106           re turn this. BeginInvok e("getSite s", new ob ject[] {
  107                         siteIDs},  callback,  asyncState );
  108       }
  109       
  110       /// <r emarks/>
  111       public  ImagingEx changeSite TO[] Endge tSites(Sys tem.IAsync Result asy ncResult)  {
  112           ob ject[] res ults = thi s.EndInvok e(asyncRes ult);
  113           re turn ((Ima gingExchan geSiteTO[] )(results[ 0]));
  114       }
  115       
  116       /// <r emarks/>
  117       public  void getS itesAsync( string sit eIDs) {
  118           th is.getSite sAsync(sit eIDs, null );
  119       }
  120       
  121       /// <r emarks/>
  122       public  void getS itesAsync( string sit eIDs, obje ct userSta te) {
  123           if  ((this.ge tSitesOper ationCompl eted == nu ll)) {
  124                this.get SitesOpera tionComple ted = new  System.Thr eading.Sen dOrPostCal lback(this .OngetSite sOperation Completed) ;
  125           }
  126           th is.InvokeA sync("getS ites", new  object[]  {
  127                         siteIDs},  this.getSi tesOperati onComplete d, userSta te);
  128       }
  129       
  130       privat e void Ong etSitesOpe rationComp leted(obje ct arg) {
  131           if  ((this.ge tSitesComp leted != n ull)) {
  132                System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs inv okeArgs =  ((System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs)(ar g));
  133                this.get SitesCompl eted(this,  new getSi tesComplet edEventArg s(invokeAr gs.Results , invokeAr gs.Error,  invokeArgs .Cancelled , invokeAr gs.UserSta te));
  134           }
  135       }
  136       
  137       /// <r emarks/>
  138         [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http://vis taweb. URL         /webservic es/Imaging ExchangeSi teService/ getSite",  RequestNam espace="ht tp://vista web. URL         /webservic es/Imaging ExchangeSi teService" , Response Namespace= "http://vi staweb. URL         /webservic es/Imaging ExchangeSi teService" , Use=Syst em.Web.Ser vices.Desc ription.So apBindingU se.Literal , Paramete rStyle=Sys tem.Web.Se rvices.Pro tocols.Soa pParameter Style.Wrap ped)]
  139       public  ImagingEx changeSite TO getSite (string si teID) {
  140           ob ject[] res ults = thi s.Invoke(" getSite",  new object [] {
  141                         siteID});
  142           re turn ((Ima gingExchan geSiteTO)( results[0] ));
  143       }
  144       
  145       /// <r emarks/>
  146       public  System.IA syncResult  BegingetS ite(string  siteID, S ystem.Asyn cCallback  callback,  object asy ncState) {
  147           re turn this. BeginInvok e("getSite ", new obj ect[] {
  148                         siteID}, c allback, a syncState) ;
  149       }
  150       
  151       /// <r emarks/>
  152       public  ImagingEx changeSite TO EndgetS ite(System .IAsyncRes ult asyncR esult) {
  153           ob ject[] res ults = thi s.EndInvok e(asyncRes ult);
  154           re turn ((Ima gingExchan geSiteTO)( results[0] ));
  155       }
  156       
  157       /// <r emarks/>
  158       public  void getS iteAsync(s tring site ID) {
  159           th is.getSite Async(site ID, null);
  160       }
  161       
  162       /// <r emarks/>
  163       public  void getS iteAsync(s tring site ID, object  userState ) {
  164           if  ((this.ge tSiteOpera tionComple ted == nul l)) {
  165                this.get SiteOperat ionComplet ed = new S ystem.Thre ading.Send OrPostCall back(this. OngetSiteO perationCo mpleted);
  166           }
  167           th is.InvokeA sync("getS ite", new  object[] {
  168                         siteID}, t his.getSit eOperation Completed,  userState );
  169       }
  170       
  171       privat e void Ong etSiteOper ationCompl eted(objec t arg) {
  172           if  ((this.ge tSiteCompl eted != nu ll)) {
  173                System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs inv okeArgs =  ((System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs)(ar g));
  174                this.get SiteComple ted(this,  new getSit eCompleted EventArgs( invokeArgs .Results,  invokeArgs .Error, in vokeArgs.C ancelled,  invokeArgs .UserState ));
  175           }
  176       }
  177       
  178       /// <r emarks/>
  179         [System.We b.Services .Protocols .SoapDocum entMethodA ttribute(" http://vis taweb. URL         /webservic es/Imaging ExchangeSi teService/ getImaging Excha" +
  180             "ngeSites" , RequestN amespace=" http://vis taweb. URL         /webservic es/Imaging ExchangeSi teService" , Response Namespace= "http://vi staweb. URL         /webservic es/Imaging ExchangeSi teService" , Use=Syst em.Web.Ser vices.Desc ription.So apBindingU se.Literal , Paramete rStyle=Sys tem.Web.Se rvices.Pro tocols.Soa pParameter Style.Wrap ped)]
  181       public  ImagingEx changeSite TO[] getIm agingExcha ngeSites()  {
  182           ob ject[] res ults = thi s.Invoke(" getImaging ExchangeSi tes", new  object[0]) ;
  183           re turn ((Ima gingExchan geSiteTO[] )(results[ 0]));
  184       }
  185       
  186       /// <r emarks/>
  187       public  System.IA syncResult  BegingetI magingExch angeSites( System.Asy ncCallback  callback,  object as yncState)  {
  188           re turn this. BeginInvok e("getImag ingExchang eSites", n ew object[ 0], callba ck, asyncS tate);
  189       }
  190       
  191       /// <r emarks/>
  192       public  ImagingEx changeSite TO[] Endge tImagingEx changeSite s(System.I AsyncResul t asyncRes ult) {
  193           ob ject[] res ults = thi s.EndInvok e(asyncRes ult);
  194           re turn ((Ima gingExchan geSiteTO[] )(results[ 0]));
  195       }
  196       
  197       /// <r emarks/>
  198       public  void getI magingExch angeSitesA sync() {
  199           th is.getImag ingExchang eSitesAsyn c(null);
  200       }
  201       
  202       /// <r emarks/>
  203       public  void getI magingExch angeSitesA sync(objec t userStat e) {
  204           if  ((this.ge tImagingEx changeSite sOperation Completed  == null))  {
  205                this.get ImagingExc hangeSites OperationC ompleted =  new Syste m.Threadin g.SendOrPo stCallback (this.Onge tImagingEx changeSite sOperation Completed) ;
  206           }
  207           th is.InvokeA sync("getI magingExch angeSites" , new obje ct[0], thi s.getImagi ngExchange SitesOpera tionComple ted, userS tate);
  208       }
  209       
  210       privat e void Ong etImagingE xchangeSit esOperatio nCompleted (object ar g) {
  211           if  ((this.ge tImagingEx changeSite sCompleted  != null))  {
  212                System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs inv okeArgs =  ((System.W eb.Service s.Protocol s.InvokeCo mpletedEve ntArgs)(ar g));
  213                this.get ImagingExc hangeSites Completed( this, new  getImaging ExchangeSi tesComplet edEventArg s(invokeAr gs.Results , invokeAr gs.Error,  invokeArgs .Cancelled , invokeAr gs.UserSta te));
  214           }
  215       }
  216       
  217       /// <r emarks/>
  218       public  new void  CancelAsyn c(object u serState)  {
  219           ba se.CancelA sync(userS tate);
  220       }
  221   }
  222  
  223   /// <remar ks/>
  224   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  225   [System.Se rializable Attribute( )]
  226   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  227   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  228   [System.Xm l.Serializ ation.XmlT ypeAttribu te(Namespa ce="http:/ /vistaweb. URL         /webservic es/Imaging ExchangeSi teService" )]
  229   public par tial class  ImagingEx changeRegi onTO {
  230       
  231       privat e string n ameField;
  232       
  233       privat e string i dField;
  234       
  235       privat e ImagingE xchangeSit eTO[] site sField;
  236       
  237       privat e FaultTO  faultTOFie ld;
  238       
  239       /// <r emarks/>
  240       public  string na me {
  241           ge t {
  242                return t his.nameFi eld;
  243           }
  244           se t {
  245                this.nam eField = v alue;
  246           }
  247       }
  248       
  249       /// <r emarks/>
  250       public  string ID  {
  251           ge t {
  252                return t his.idFiel d;
  253           }
  254           se t {
  255                this.idF ield = val ue;
  256           }
  257       }
  258       
  259       /// <r emarks/>
  260       public  ImagingEx changeSite TO[] sites  {
  261           ge t {
  262                return t his.sitesF ield;
  263           }
  264           se t {
  265                this.sit esField =  value;
  266           }
  267       }
  268       
  269       /// <r emarks/>
  270       public  FaultTO f aultTO {
  271           ge t {
  272                return t his.faultT OField;
  273           }
  274           se t {
  275                this.fau ltTOField  = value;
  276           }
  277       }
  278   }
  279  
  280   /// <remar ks/>
  281   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  282   [System.Se rializable Attribute( )]
  283   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  284   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  285   [System.Xm l.Serializ ation.XmlT ypeAttribu te(Namespa ce="http:/ /vistaweb. URL         /webservic es/Imaging ExchangeSi teService" )]
  286   public par tial class  ImagingEx changeSite TO {
  287       
  288       privat e string s iteNumberF ield;
  289       
  290       privat e string s iteNameFie ld;
  291       
  292       privat e string r egionIDFie ld;
  293       
  294       privat e string s iteAbbrFie ld;
  295       
  296       privat e string v istaServer Field;
  297       
  298       privat e int vist aPortField ;
  299       
  300       privat e string a ccelerator ServerFiel d;
  301       
  302       privat e int acce leratorPor tField;
  303       
  304       privat e FaultTO  faultTOFie ld;
  305       
  306       /// <r emarks/>
  307       public  string si teNumber {
  308           ge t {
  309                return t his.siteNu mberField;
  310           }
  311           se t {
  312                this.sit eNumberFie ld = value ;
  313           }
  314       }
  315       
  316       /// <r emarks/>
  317       public  string si teName {
  318           ge t {
  319                return t his.siteNa meField;
  320           }
  321           se t {
  322                this.sit eNameField  = value;
  323           }
  324       }
  325       
  326       /// <r emarks/>
  327       public  string re gionID {
  328           ge t {
  329                return t his.region IDField;
  330           }
  331           se t {
  332                this.reg ionIDField  = value;
  333           }
  334       }
  335       
  336       /// <r emarks/>
  337       public  string si teAbbr {
  338           ge t {
  339                return t his.siteAb brField;
  340           }
  341           se t {
  342                this.sit eAbbrField  = value;
  343           }
  344       }
  345       
  346       /// <r emarks/>
  347       public  string vi staServer  {
  348           ge t {
  349                return t his.vistaS erverField ;
  350           }
  351           se t {
  352                this.vis taServerFi eld = valu e;
  353           }
  354       }
  355       
  356       /// <r emarks/>
  357       public  int vista Port {
  358           ge t {
  359                return t his.vistaP ortField;
  360           }
  361           se t {
  362                this.vis taPortFiel d = value;
  363           }
  364       }
  365       
  366       /// <r emarks/>
  367       public  string ac celeratorS erver {
  368           ge t {
  369                return t his.accele ratorServe rField;
  370           }
  371           se t {
  372                this.acc eleratorSe rverField  = value;
  373           }
  374       }
  375       
  376       /// <r emarks/>
  377       public  int accel eratorPort  {
  378           ge t {
  379                return t his.accele ratorPortF ield;
  380           }
  381           se t {
  382                this.acc eleratorPo rtField =  value;
  383           }
  384       }
  385       
  386       /// <r emarks/>
  387       public  FaultTO f aultTO {
  388           ge t {
  389                return t his.faultT OField;
  390           }
  391           se t {
  392                this.fau ltTOField  = value;
  393           }
  394       }
  395   }
  396  
  397   /// <remar ks/>
  398   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  399   [System.Se rializable Attribute( )]
  400   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  401   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  402   [System.Xm l.Serializ ation.XmlT ypeAttribu te(Namespa ce="http:/ /vistaweb. URL         /webservic es/Imaging ExchangeSi teService" )]
  403   public par tial class  FaultTO {
  404       
  405       privat e string t ypeField;
  406       
  407       privat e string m essageFiel d;
  408       
  409       privat e string[]  stackTrac eField;
  410       
  411       privat e string s uggestionF ield;
  412       
  413       /// <r emarks/>
  414       public  string ty pe {
  415           ge t {
  416                return t his.typeFi eld;
  417           }
  418           se t {
  419                this.typ eField = v alue;
  420           }
  421       }
  422       
  423       /// <r emarks/>
  424       public  string me ssage {
  425           ge t {
  426                return t his.messag eField;
  427           }
  428           se t {
  429                this.mes sageField  = value;
  430           }
  431       }
  432       
  433       /// <r emarks/>
  434       public  string[]  stackTrace  {
  435           ge t {
  436                return t his.stackT raceField;
  437           }
  438           se t {
  439                this.sta ckTraceFie ld = value ;
  440           }
  441       }
  442       
  443       /// <r emarks/>
  444       public  string su ggestion {
  445           ge t {
  446                return t his.sugges tionField;
  447           }
  448           se t {
  449                this.sug gestionFie ld = value ;
  450           }
  451       }
  452   }
  453  
  454   /// <remar ks/>
  455   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  456   public del egate void  getVISNCo mpletedEve ntHandler( object sen der, getVI SNComplete dEventArgs  e);
  457  
  458   /// <remar ks/>
  459   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  460   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  461   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  462   public par tial class  getVISNCo mpletedEve ntArgs : S ystem.Comp onentModel .AsyncComp letedEvent Args {
  463       
  464       privat e object[]  results;
  465       
  466       intern al getVISN CompletedE ventArgs(o bject[] re sults, Sys tem.Except ion except ion, bool  cancelled,  object us erState) :  
  467                base(exc eption, ca ncelled, u serState)  {
  468           th is.results  = results ;
  469       }
  470       
  471       /// <r emarks/>
  472       public  ImagingEx changeRegi onTO Resul t {
  473           ge t {
  474                this.Rai seExceptio nIfNecessa ry();
  475                return ( (ImagingEx changeRegi onTO)(this .results[0 ]));
  476           }
  477       }
  478   }
  479  
  480   /// <remar ks/>
  481   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  482   public del egate void  getSitesC ompletedEv entHandler (object se nder, getS itesComple tedEventAr gs e);
  483  
  484   /// <remar ks/>
  485   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  486   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  487   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  488   public par tial class  getSitesC ompletedEv entArgs :  System.Com ponentMode l.AsyncCom pletedEven tArgs {
  489       
  490       privat e object[]  results;
  491       
  492       intern al getSite sCompleted EventArgs( object[] r esults, Sy stem.Excep tion excep tion, bool  cancelled , object u serState) 
  493                base(exc eption, ca ncelled, u serState)  {
  494           th is.results  = results ;
  495       }
  496       
  497       /// <r emarks/>
  498       public  ImagingEx changeSite TO[] Resul t {
  499           ge t {
  500                this.Rai seExceptio nIfNecessa ry();
  501                return ( (ImagingEx changeSite TO[])(this .results[0 ]));
  502           }
  503       }
  504   }
  505  
  506   /// <remar ks/>
  507   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  508   public del egate void  getSiteCo mpletedEve ntHandler( object sen der, getSi teComplete dEventArgs  e);
  509  
  510   /// <remar ks/>
  511   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  512   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  513   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  514   public par tial class  getSiteCo mpletedEve ntArgs : S ystem.Comp onentModel .AsyncComp letedEvent Args {
  515       
  516       privat e object[]  results;
  517       
  518       intern al getSite CompletedE ventArgs(o bject[] re sults, Sys tem.Except ion except ion, bool  cancelled,  object us erState) :  
  519                base(exc eption, ca ncelled, u serState)  {
  520           th is.results  = results ;
  521       }
  522       
  523       /// <r emarks/>
  524       public  ImagingEx changeSite TO Result  {
  525           ge t {
  526                this.Rai seExceptio nIfNecessa ry();
  527                return ( (ImagingEx changeSite TO)(this.r esults[0]) );
  528           }
  529       }
  530   }
  531  
  532   /// <remar ks/>
  533   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  534   public del egate void  getImagin gExchangeS itesComple tedEventHa ndler(obje ct sender,  getImagin gExchangeS itesComple tedEventAr gs e);
  535  
  536   /// <remar ks/>
  537   [System.Co deDom.Comp iler.Gener atedCodeAt tribute("w sdl", "2.0 .50727.42" )]
  538   [System.Di agnostics. DebuggerSt epThroughA ttribute() ]
  539   [System.Co mponentMod el.Designe rCategoryA ttribute(" code")]
  540   public par tial class  getImagin gExchangeS itesComple tedEventAr gs : Syste m.Componen tModel.Asy ncComplete dEventArgs  {
  541       
  542       privat e object[]  results;
  543       
  544       intern al getImag ingExchang eSitesComp letedEvent Args(objec t[] result s, System. Exception  exception,  bool canc elled, obj ect userSt ate) : 
  545                base(exc eption, ca ncelled, u serState)  {
  546           th is.results  = results ;
  547       }
  548       
  549       /// <r emarks/>
  550       public  ImagingEx changeSite TO[] Resul t {
  551           ge t {
  552                this.Rai seExceptio nIfNecessa ry();
  553                return ( (ImagingEx changeSite TO[])(this .results[0 ]));
  554           }
  555       }
  556   }