517. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2/1/2017 2:56:49 PM Eastern Standard 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.

517.1 Files compared

# Location File Last Modified
1 C:\Araxis_Merge_Comprasion\Pub_un\BTSSS_CIF_122016.zip\BTSSS_CIF_12_20_16\clean\CRM\trunk\SDK\SampleCode\CS\ModernAndMobileApps\ModernOdataApp App.xaml.cs Tue Dec 20 19:51:47 2016 UTC
2 Wed Feb 1 19:56:49 2017 UTC

517.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 99

517.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

517.4 Active regular expressions

No regular expressions were active.

517.5 Comparison detail

1   // ======= ========== ========== ========== ========== ========== ========== ==        
2   //        
3   //  This f ile is par t of the M icrosoft D ynamics CR M SDK Code  Samples.        
4   //        
5   //  Copyri ght (C) Mi crosoft Co rporation.   All righ ts reserve d.        
6   //        
7   //  This s ource code  is intend ed only as  a supplem ent to Mic rosoft        
8   //  Develo pment Tool s and/or o nline docu mentation.   See thes e other        
9   //  materi als for de tailed inf ormation r egarding M icrosoft c ode sample s.        
10   //        
11   //  THIS C ODE AND IN FORMATION  ARE PROVID ED "AS IS"  WITHOUT W ARRANTY OF  ANY        
12   //  KIND,  EITHER EXP RESSED OR  IMPLIED, I NCLUDING B UT NOT LIM ITED TO TH E        
13   //  IMPLIE D WARRANTI ES OF MERC HANTABILIT Y AND/OR F ITNESS FOR  A        
14   //  PARTIC ULAR PURPO SE.        
15   //        
16   // ======= ========== ========== ========== ========== ========== ========== ==        
17          
18   using Syst em;        
19   using Wind ows.Applic ationModel ;        
20   using Wind ows.Applic ationModel .Activatio n;        
21   using Wind ows.UI.Xam l;        
22   using Wind ows.UI.Xam l.Controls ;        
23          
24   // The Bla nk Applica tion templ ate is doc umented at  http://go .microsoft .com/fwlin k/?LinkId= 234227        
25          
26   namespace  ModernOdat aApp        
27   {        
28       /// <s ummary>        
29       /// Pr ovides app lication-s pecific be havior to  supplement  the defau lt Applica tion class .        
30       /// </ summary>        
31       sealed  partial c lass App :  Applicati on        
32       {        
33          
34           // / <summary >        
35           // / Initiali zes the si ngleton ap plication  object.  T his is the  first lin e of autho red code        
36           // / executed , and as s uch is the  logical e quivalent  of main()  or WinMain ().        
37           // / </summar y>        
38           pu blic App()        
39           {        
40                this.Ini tializeCom ponent();        
41                this.Sus pending +=  OnSuspend ing;        
42           }        
43          
44          
45           // / <summary >        
46           // / Invoked  when the a pplication  is launch ed normall y by the e nd user.   Other entr y points        
47           // / will be  used when  the applic ation is l aunched to  open a sp ecific fil e, to disp lay        
48           // / search r esults, an d so forth .        
49           // / </summar y>        
50           // / <param n ame="args" >Details a bout the l aunch requ est and pr ocess.</pa ram>        
51           pr otected ov erride voi d OnLaunch ed(LaunchA ctivatedEv entArgs ar gs)        
52           {        
53                Frame ro otFrame =  Window.Cur rent.Conte nt as Fram e;        
54          
55                // Do no t repeat a pp initial ization wh en the Win dow alread y has cont ent,        
56                // just  ensure tha t the wind ow is acti ve        
57                if (root Frame == n ull)        
58                {        
59                    // C reate a Fr ame to act  as the na vigation c ontext and  navigate  to the fir st page        
60                    root Frame = ne w Frame();        
61          
62                    if ( args.Previ ousExecuti onState ==  Applicati onExecutio nState.Ter minated)        
63                    {        
64                         //TODO: Lo ad state f rom previo usly suspe nded appli cation        
65                    }        
66          
67                    // P lace the f rame in th e current  Window        
68                    Wind ow.Current .Content =  rootFrame ;        
69                }        
70          
71                if (root Frame.Cont ent == nul l)        
72                {        
73                    // W hen the na vigation s tack isn't  restored  navigate t o the firs t page,        
74                    // c onfiguring  the new p age by pas sing requi red inform ation as a  navigatio n        
75                    // p arameter        
76                    if ( !rootFrame .Navigate( typeof(Mai nPage), ar gs.Argumen ts))        
77                    {        
78                         throw new  Exception( "Failed to  create in itial page ");        
79                    }        
80                }        
81                // Ensur e the curr ent window  is active        
82                Window.C urrent.Act ivate();        
83           }        
84          
85           // / <summary >        
86           // / Invoked  when appli cation exe cution is  being susp ended.  Ap plication  state is s aved        
87           // / without  knowing wh ether the  applicatio n will be  terminated  or resume d with the  contents        
88           // / of memor y still in tact.        
89           // / </summar y>        
90           // / <param n ame="sende r">The sou rce of the  suspend r equest.</p aram>        
91           // / <param n ame="e">De tails abou t the susp end reques t.</param>        
92           pr ivate void  OnSuspend ing(object  sender, S uspendingE ventArgs e )        
93           {        
94                var defe rral = e.S uspendingO peration.G etDeferral ();        
95                //TODO:  Save appli cation sta te and sto p any back ground act ivity        
96                deferral .Complete( );        
97           }        
98       }        
99   }