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.
| # | 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\Views | TasksView.xaml.cs | Tue Dec 20 19:51:47 2016 UTC |
| 2 | Wed Feb 1 19:56:49 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 94 |
| 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 |
No regular expressions were active.
| 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.Collect ions.Gener ic; | |||||
| 20 | using Syst em.Collect ions.Objec tModel; | |||||
| 21 | using Syst em.IO; | |||||
| 22 | using Syst em.Linq; | |||||
| 23 | using Mode rnOdataApp .Common; | |||||
| 24 | using Mode rnOdataApp .Models; | |||||
| 25 | using Wind ows.Founda tion; | |||||
| 26 | using Wind ows.Founda tion.Colle ctions; | |||||
| 27 | using Wind ows.UI.Xam l; | |||||
| 28 | using Wind ows.UI.Xam l.Controls ; | |||||
| 29 | using Wind ows.UI.Xam l.Controls .Primitive s; | |||||
| 30 | using Wind ows.UI.Xam l.Data; | |||||
| 31 | using Wind ows.UI.Xam l.Input; | |||||
| 32 | using Wind ows.UI.Xam l.Media; | |||||
| 33 | using Wind ows.UI.Xam l.Navigati on; | |||||
| 34 | using Syst em.Xml.Lin q; | |||||
| 35 | using Samp le.ViewMod els; | |||||
| 36 | ||||||
| 37 | // The Bas ic Page it em templat e is docum ented at h ttp://go.m icrosoft.c om/fwlink/ ?LinkId=23 4237 | |||||
| 38 | ||||||
| 39 | namespace ModernOdat aApp.Views | |||||
| 40 | { | |||||
| 41 | /// <s ummary> | |||||
| 42 | /// A basic page that prov ides chara cteristics common to most appl ications. | |||||
| 43 | /// </ summary> | |||||
| 44 | public sealed pa rtial clas s Tasks : ModernOdat aApp.Commo n.LayoutAw arePage | |||||
| 45 | { | |||||
| 46 | Ta sksViewMod el tasksVM ; | |||||
| 47 | ||||||
| 48 | pu blic Tasks () | |||||
| 49 | { | |||||
| 50 | this.Ini tializeCom ponent(); | |||||
| 51 | tasksVM = new Task sViewModel (); | |||||
| 52 | } | |||||
| 53 | ||||||
| 54 | pr ivate stri ng _access Token; | |||||
| 55 | pr otected ov erride voi d OnNaviga tedTo(Navi gationEven tArgs e) | |||||
| 56 | { | |||||
| 57 | base.OnN avigatedTo (e); | |||||
| 58 | _accessT oken = (st ring)e.Par ameter; | |||||
| 59 | GetTasks Data(); | |||||
| 60 | } | |||||
| 61 | ||||||
| 62 | // / <summary > | |||||
| 63 | // / Method t o bind Tas ks Data to Tasks Lis tView | |||||
| 64 | // / </summar y> | |||||
| 65 | pu blic async void GetT asksData() | |||||
| 66 | { | |||||
| 67 | await ta sksVM.Load TasksData( _accessTok en); | |||||
| 68 | this.lis tBoxTasks. ItemsSourc e = tasksV M.Tasks; | |||||
| 69 | } | |||||
| 70 | ||||||
| 71 | // / <summary > | |||||
| 72 | // / Populate s the page with cont ent passed during na vigation. Any saved state is also | |||||
| 73 | // / provided when recr eating a p age from a prior ses sion. | |||||
| 74 | // / </summar y> | |||||
| 75 | // / <param n ame="navig ationParam eter">The parameter value pass ed to | |||||
| 76 | // / <see cre f="Frame.N avigate(Ty pe, Object )"/> when this page was initia lly reques ted. | |||||
| 77 | // / </param> | |||||
| 78 | // / <param n ame="pageS tate">A di ctionary o f state pr eserved by this page during an earlier | |||||
| 79 | // / session. This wil l be null the first time a pag e is visit ed.</param > | |||||
| 80 | pr otected ov erride voi d LoadStat e(Object n avigationP arameter, Dictionary <String, O bject> pag eState) | |||||
| 81 | { | |||||
| 82 | } | |||||
| 83 | ||||||
| 84 | // / <summary > | |||||
| 85 | // / Preserve s state as sociated w ith this p age in cas e the appl ication is suspended or the | |||||
| 86 | // / page is discarded from the n avigation cache. Va lues must conform to the seria lization | |||||
| 87 | // / requirem ents of <s ee cref="S uspensionM anager.Ses sionState" />. | |||||
| 88 | // / </summar y> | |||||
| 89 | // / <param n ame="pageS tate">An e mpty dicti onary to b e populate d with ser ializable state.</pa ram> | |||||
| 90 | pr otected ov erride voi d SaveStat e(Dictiona ry<String, Object> p ageState) | |||||
| 91 | { | |||||
| 92 | } | |||||
| 93 | } | |||||
| 94 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.