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

521.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 MainPageItem.cs Tue Dec 20 19:51:47 2016 UTC
2 Wed Feb 1 19:56:49 2017 UTC

521.2 Comparison summary

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

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

521.4 Active regular expressions

No regular expressions were active.

521.5 Comparison detail

1   //  Copyri ght (C) Mi crosoft Co rporation.   All righ ts reserve d.        
2   //        
3   //  This s ource code  is intend ed only as  a supplem ent to Mic rosoft        
4   //  Develo pment Tool s and/or o n-line doc umentation .  See the se other        
5   //  materi als for de tailed inf ormation r egarding M icrosoft c ode sample s.        
6   //        
7   //  THIS C ODE AND IN FORMATION  ARE PROVID ED "AS IS"  WITHOUT W ARRANTY OF  ANY        
8   //  KIND,  EITHER EXP RESSED OR  IMPLIED, I NCLUDING B UT NOT LIM ITED TO TH E        
9   //  IMPLIE D WARRANTI ES OF MERC HANTABILIT Y AND/OR F ITNESS FOR  A        
10   //  PARTIC ULAR PURPO SE.        
11   // ======= ========== ========== ========== ========== ========== ========== ==        
12          
13   using Syst em;        
14   using Syst em.Collect ions.Gener ic;        
15   using Syst em.Linq;        
16   using Syst em.Text;        
17   using Syst em.Threadi ng.Tasks;        
18   using Wind ows.UI.Xam l;        
19   using Wind ows.UI.Xam l.Controls ;        
20   using Wind ows.UI.Xam l.Media;        
21          
22   namespace  ModernOdat aApp        
23   {        
24     public c lass MainP ageItem        
25     {        
26       public  string Na me { get;  set; }        
27          
28       //Retu rn the Ite m name        
29       public  string It emName        
30       {        
31         get        
32         {        
33           re turn strin g.Format(" {0:00}", N ame);        
34         }        
35       }        
36          
37       //Get  the Item I mage        
38       public  string Im age        
39       {        
40         get        
41         {        
42           re turn strin g.Format(" ms-appx:// /Assets/Ma inPage/{0} .png", Nam e);        
43         }        
44       }        
45          
46       //Crea te the Ite m        
47       public  UIElement  XAMLItem        
48       {        
49         get        
50         {        
51           // XAML Item  Uri...        
52           st ring xamlP ath = stri ng.Format( "ms-appx:/ //Assets/M ainPage/{0 }.xaml", N ame);        
53           Ur i xamlUri  = new Uri( xamlPath,  UriKind.Ab solute);        
54          
55           // Create new  canvas el ement for  the rectan gle and pa th to be l oaded into ...        
56           Ca nvas targe tCanvas =  new Canvas ();        
57          
58           // Load the c ontents of  the XAML  Card's .xa ml file in to the in  memory can vas using  App.LoadCo mponent        
59           Ap p.LoadComp onent(targ etCanvas,  xamlUri);        
60          
61           // Wrap the n ew canvas  up in a Vi ewbox so t hat it sca les to fit  the conta iner.          
62           Vi ewbox view Box = new  Viewbox();        
63           vi ewBox.Chil d = target Canvas;        
64          
65           // Return the  Viewbox.. .        
66           re turn viewB ox;        
67         }        
68       }        
69          
70     }        
71   }