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

528.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\ModernSoapApp\Common BindableBase.cs Tue Dec 20 19:51:47 2016 UTC
2 Wed Feb 1 19:56:49 2017 UTC

528.2 Comparison summary

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

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

528.4 Active regular expressions

No regular expressions were active.

528.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 Syst em.Compone ntModel;        
20   using Syst em.Runtime .CompilerS ervices;        
21   using Wind ows.UI.Xam l.Data;        
22          
23   namespace  ModernSoap App.Common        
24   {        
25       /// <s ummary>        
26       /// Im plementati on of <see  cref="INo tifyProper tyChanged" /> to simp lify model s.        
27       /// </ summary>        
28       [Windo ws.Foundat ion.Metada ta.WebHost Hidden]        
29       public  abstract  class Bind ableBase :  INotifyPr opertyChan ged        
30       {        
31           // / <summary >        
32           // / Multicas t event fo r property  change no tification s.        
33           // / </summar y>        
34           pu blic event  PropertyC hangedEven tHandler P ropertyCha nged;        
35          
36           // / <summary >        
37           // / Checks i f a proper ty already  matches a  desired v alue.  Set s the prop erty and        
38           // / notifies  listeners  only when  necessary .        
39           // / </summar y>        
40           // / <typepar am name="T ">Type of  the proper ty.</typep aram>        
41           // / <param n ame="stora ge">Refere nce to a p roperty wi th both ge tter and s etter.</pa ram>        
42           // / <param n ame="value ">Desired  value for  the proper ty.</param >        
43           // / <param n ame="prope rtyName">N ame of the  property  used to no tify liste ners.  Thi s        
44           // / value is  optional  and can be  provided  automatica lly when i nvoked fro m compiler s that        
45           // / support  CallerMemb erName.</p aram>        
46           // / <returns >True if t he value w as changed , false if  the exist ing value  matched th e        
47           // / desired  value.</re turns>        
48           pr otected bo ol SetProp erty<T>(re f T storag e, T value , [CallerM emberName]  String pr opertyName  = null)        
49           {        
50                if (obje ct.Equals( storage, v alue)) ret urn false;        
51          
52                storage  = value;        
53                this.OnP ropertyCha nged(prope rtyName);        
54                return t rue;        
55           }        
56          
57           // / <summary >        
58           // / Notifies  listeners  that a pr operty val ue has cha nged.        
59           // / </summar y>        
60           // / <param n ame="prope rtyName">N ame of the  property  used to no tify liste ners.  Thi s        
61           // / value is  optional  and can be  provided  automatica lly when i nvoked fro m compiler s        
62           // / that sup port <see  cref="Call erMemberNa meAttribut e"/>.</par am>        
63           pr otected vo id OnPrope rtyChanged ([CallerMe mberName]  string pro pertyName  = null)        
64           {        
65                var even tHandler =  this.Prop ertyChange d;        
66                if (even tHandler ! = null)        
67                {        
68                    even tHandler(t his, new P ropertyCha ngedEventA rgs(proper tyName));        
69                }        
70           }        
71       }        
72   }