Produced by Araxis Merge on 2/1/2017 2:56:52 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\Process\CustomWorkflowActivities\DistanceCalculator | BingMaps.cs | Tue Dec 20 19:51:45 2016 UTC |
| 2 | Wed Feb 1 19:56:52 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 1 | 289 |
| 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 | // This f ile is par t of the M icrosoft D ynamics CR M SDK code samples. | |||||
| 3 | // | |||||
| 4 | // Copyri ght (C) Mi crosoft Co rporation. All righ ts reserve d. | |||||
| 5 | // | |||||
| 6 | // This s ource code is intend ed only as a supplem ent to Mic rosoft | |||||
| 7 | // Develo pment Tool s and/or o n-line doc umentation . See the se other | |||||
| 8 | // materi als for de tailed inf ormation r egarding M icrosoft c ode sample s. | |||||
| 9 | // | |||||
| 10 | // THIS C ODE AND IN FORMATION ARE PROVID ED "AS IS" WITHOUT W ARRANTY OF ANY | |||||
| 11 | // KIND, EITHER EXP RESSED OR IMPLIED, I NCLUDING B UT NOT LIM ITED TO TH E | |||||
| 12 | // IMPLIE D WARRANTI ES OF MERC HANTABILIT Y AND/OR F ITNESS FOR A | |||||
| 13 | // PARTIC ULAR PURPO SE. | |||||
| 14 | // ======= ========== ========== ========== ========== ========== ========== == | |||||
| 15 | using Syst em.Runtime .Serializa tion; | |||||
| 16 | ||||||
| 17 | namespace Microsoft. Crm.Sdk.Sa mples.Bing MapsRestV1 | |||||
| 18 | { | |||||
| 19 | [DataC ontract] | |||||
| 20 | public class Add ress | |||||
| 21 | { | |||||
| 22 | [D ataMember( Name = "ad dressLine" )] | |||||
| 23 | pu blic strin g AddressL ine { get; set; } | |||||
| 24 | [D ataMember( Name = "ad minDistric t")] | |||||
| 25 | pu blic strin g AdminDis trict { ge t; set; } | |||||
| 26 | [D ataMember( Name = "ad minDistric t2")] | |||||
| 27 | pu blic strin g AdminDis trict2 { g et; set; } | |||||
| 28 | [D ataMember( Name = "co untryRegio n")] | |||||
| 29 | pu blic strin g CountryR egion { ge t; set; } | |||||
| 30 | [D ataMember( Name = "fo rmattedAdd ress")] | |||||
| 31 | pu blic strin g Formatte dAddress { get; set; } | |||||
| 32 | [D ataMember( Name = "lo cality")] | |||||
| 33 | pu blic strin g Locality { get; se t; } | |||||
| 34 | [D ataMember( Name = "po stalCode") ] | |||||
| 35 | pu blic strin g PostalCo de { get; set; } | |||||
| 36 | } | |||||
| 37 | ||||||
| 38 | public enum Auth entication ResultCode | |||||
| 39 | { | |||||
| 40 | No ne, | |||||
| 41 | No Credential s, | |||||
| 42 | Va lidCredent ials, | |||||
| 43 | In validCrede ntials, | |||||
| 44 | Cr edentialsE xpired, | |||||
| 45 | No tAuthorize d, | |||||
| 46 | } | |||||
| 47 | ||||||
| 48 | [DataC ontract] | |||||
| 49 | public class Bou ndingBox | |||||
| 50 | { | |||||
| 51 | [D ataMember( Name = "so uthLatitud e")] | |||||
| 52 | pu blic doubl e SouthLat itude { ge t; set; } | |||||
| 53 | [D ataMember( Name = "we stLongitud e")] | |||||
| 54 | pu blic doubl e WestLong itude { ge t; set; } | |||||
| 55 | [D ataMember( Name = "no rthLatitud e")] | |||||
| 56 | pu blic doubl e NorthLat itude { ge t; set; } | |||||
| 57 | [D ataMember( Name = "ea stLongitud e")] | |||||
| 58 | pu blic doubl e EastLong itude { ge t; set; } | |||||
| 59 | } | |||||
| 60 | ||||||
| 61 | public enum Conf idence | |||||
| 62 | { | |||||
| 63 | Hi gh, | |||||
| 64 | Me dium, | |||||
| 65 | Lo w, | |||||
| 66 | Un known, | |||||
| 67 | } | |||||
| 68 | ||||||
| 69 | [DataC ontract(Na mespace = "http://sc hemas.micr osoft.com/ search/loc al/ws/rest /v1")] | |||||
| 70 | public class Dat aflowJob : Resource | |||||
| 71 | { | |||||
| 72 | [D ataMember( Name = "co mpletedDat e")] | |||||
| 73 | pu blic strin g Complete dDate { ge t; set; } | |||||
| 74 | [D ataMember( Name = "cr eatedDate" )] | |||||
| 75 | pu blic strin g CreatedD ate { get; set; } | |||||
| 76 | [D ataMember( Name = "st atus")] | |||||
| 77 | pu blic strin g Status { get; set; } | |||||
| 78 | [D ataMember( Name = "er rorMessage ")] | |||||
| 79 | pu blic strin g ErrorMes sge { get; set; } | |||||
| 80 | [D ataMember( Name = "fa iledEntity Count")] | |||||
| 81 | pu blic int F ailedEntit yCount { g et; set; } | |||||
| 82 | [D ataMember( Name = "pr ocessedEnt ityCount") ] | |||||
| 83 | pu blic int P rocessedEn tityCount { get; set ; } | |||||
| 84 | [D ataMember( Name = "to talEntityC ount")] | |||||
| 85 | pu blic int T otalEntity Count { ge t; set; } | |||||
| 86 | } | |||||
| 87 | ||||||
| 88 | [DataC ontract] | |||||
| 89 | public class Hin t | |||||
| 90 | { | |||||
| 91 | [D ataMember( Name = "hi ntType")] | |||||
| 92 | pu blic strin g HintType { get; se t; } | |||||
| 93 | ||||||
| 94 | [D ataMember( Name = "va lue")] | |||||
| 95 | pu blic strin g Value { get; set; } | |||||
| 96 | } | |||||
| 97 | ||||||
| 98 | [DataC ontract] | |||||
| 99 | public class Ins truction | |||||
| 100 | { | |||||
| 101 | [D ataMember( Name = "ma neuverType ")] | |||||
| 102 | pu blic strin g Maneuver Type { get ; set; } | |||||
| 103 | [D ataMember( Name = "te xt")] | |||||
| 104 | pu blic strin g Text { g et; set; } | |||||
| 105 | // [DataMembe r(Name = " value")] | |||||
| 106 | // public str ing Value { get; set ; } | |||||
| 107 | } | |||||
| 108 | ||||||
| 109 | [DataC ontract] | |||||
| 110 | public class Iti neraryItem | |||||
| 111 | { | |||||
| 112 | [D ataMember( Name = "tr avelMode") ] | |||||
| 113 | pu blic strin g TravelMo de { get; set; } | |||||
| 114 | [D ataMember( Name = "tr avelDistan ce")] | |||||
| 115 | pu blic doubl e TravelDi stance { g et; set; } | |||||
| 116 | [D ataMember( Name = "tr avelDurati on")] | |||||
| 117 | pu blic long TravelDura tion { get ; set; } | |||||
| 118 | [D ataMember( Name = "ma neuverPoin t")] | |||||
| 119 | pu blic Point ManeuverP oint { get ; set; } | |||||
| 120 | [D ataMember( Name = "in struction" )] | |||||
| 121 | pu blic Instr uction Ins truction { get; set; } | |||||
| 122 | [D ataMember( Name = "co mpassDirec tion")] | |||||
| 123 | pu blic strin g CompassD irection { get; set; } | |||||
| 124 | [D ataMember( Name = "hi nt")] | |||||
| 125 | pu blic Hint[ ] Hint { g et; set; } | |||||
| 126 | [D ataMember( Name = "wa rning")] | |||||
| 127 | pu blic Warni ng[] Warni ng { get; set; } | |||||
| 128 | } | |||||
| 129 | ||||||
| 130 | [DataC ontract] | |||||
| 131 | public class Lin e | |||||
| 132 | { | |||||
| 133 | [D ataMember( Name = "po int")] | |||||
| 134 | pu blic Point [] Point { get; set; } | |||||
| 135 | [D ataMember( Name = "co ordinates" )] | |||||
| 136 | pu blic doubl e[][] Coor dinates { get; set; } | |||||
| 137 | } | |||||
| 138 | ||||||
| 139 | [DataC ontract] | |||||
| 140 | public class Lin k | |||||
| 141 | { | |||||
| 142 | [D ataMember( Name = "ro le")] | |||||
| 143 | pu blic strin g Role { g et; set; } | |||||
| 144 | [D ataMember( Name = "na me")] | |||||
| 145 | pu blic strin g Name { g et; set; } | |||||
| 146 | [D ataMember( Name = "va lue")] | |||||
| 147 | pu blic strin g Value { get; set; } | |||||
| 148 | [D ataMember( Name = "ur l")] | |||||
| 149 | pu blic strin g Url { ge t; set; } | |||||
| 150 | } | |||||
| 151 | ||||||
| 152 | [DataC ontract(Na mespace = "http://sc hemas.micr osoft.com/ search/loc al/ws/rest /v1")] | |||||
| 153 | public class Loc ation : Re source | |||||
| 154 | { | |||||
| 155 | [D ataMember( Name = "en tityType") ] | |||||
| 156 | pu blic strin g EntityTy pe { get; set; } | |||||
| 157 | [D ataMember( Name = "ad dress")] | |||||
| 158 | pu blic Addre ss Address { get; se t; } | |||||
| 159 | [D ataMember( Name = "co nfidence") ] | |||||
| 160 | pu blic strin g Confiden ce { get; set; } | |||||
| 161 | } | |||||
| 162 | ||||||
| 163 | [DataC ontract] | |||||
| 164 | public class Poi nt : Shape | |||||
| 165 | { | |||||
| 166 | // / <summary > | |||||
| 167 | // / Latitude ,Longitude | |||||
| 168 | // / </summar y> | |||||
| 169 | [D ataMember( Name = "co ordinates" )] | |||||
| 170 | pu blic doubl e[] Coordi nates { ge t; set; } | |||||
| 171 | // [DataMembe r(Name = " latitude") ] | |||||
| 172 | // public dou ble Latitu de { get; set; } | |||||
| 173 | // [DataMembe r(Name = " longitude" )] | |||||
| 174 | // public dou ble Longit ude { get; set; } | |||||
| 175 | } | |||||
| 176 | ||||||
| 177 | [DataC ontract] | |||||
| 178 | [Known Type(typeo f(Location ))] | |||||
| 179 | [Known Type(typeo f(Route))] | |||||
| 180 | [Known Type(typeo f(Dataflow Job))] | |||||
| 181 | ||||||
| 182 | public class Res ource | |||||
| 183 | { | |||||
| 184 | [D ataMember( Name = "na me")] | |||||
| 185 | pu blic strin g Name { g et; set; } | |||||
| 186 | [D ataMember( Name = "id ")] | |||||
| 187 | pu blic strin g Id { get ; set; } | |||||
| 188 | [D ataMember( Name = "li nk")] | |||||
| 189 | pu blic Link[ ] Link { g et; set; } | |||||
| 190 | [D ataMember( Name = "li nks")] | |||||
| 191 | pu blic Link[ ] Links { get; set; } | |||||
| 192 | [D ataMember( Name = "po int")] | |||||
| 193 | pu blic Point Point { g et; set; } | |||||
| 194 | [D ataMember( Name = "bo undingBox" )] | |||||
| 195 | pu blic Bound ingBox Bou ndingBox { get; set; } | |||||
| 196 | } | |||||
| 197 | ||||||
| 198 | [DataC ontract] | |||||
| 199 | public class Res ourceSet | |||||
| 200 | { | |||||
| 201 | [D ataMember( Name = "es timatedTot al")] | |||||
| 202 | pu blic long EstimatedT otal { get ; set; } | |||||
| 203 | [D ataMember( Name = "re sources")] | |||||
| 204 | pu blic Resou rce[] Reso urces { ge t; set; } | |||||
| 205 | } | |||||
| 206 | ||||||
| 207 | [DataC ontract] | |||||
| 208 | public class Res ponse | |||||
| 209 | { | |||||
| 210 | [D ataMember( Name = "co pyright")] | |||||
| 211 | pu blic strin g Copyrigh t { get; s et; } | |||||
| 212 | [D ataMember( Name = "br andLogoUri ")] | |||||
| 213 | pu blic strin g BrandLog oUri { get ; set; } | |||||
| 214 | [D ataMember( Name = "st atusCode") ] | |||||
| 215 | pu blic int S tatusCode { get; set ; } | |||||
| 216 | [D ataMember( Name = "st atusDescri ption")] | |||||
| 217 | pu blic strin g StatusDe scription { get; set ; } | |||||
| 218 | [D ataMember( Name = "au thenticati onResultCo de")] | |||||
| 219 | pu blic strin g Authenti cationResu ltCode { g et; set; } | |||||
| 220 | [D ataMember( Name = "er rorDetails ")] | |||||
| 221 | pu blic strin g[] errorD etails { g et; set; } | |||||
| 222 | [D ataMember( Name = "tr aceId")] | |||||
| 223 | pu blic strin g TraceId { get; set ; } | |||||
| 224 | [D ataMember( Name = "re sourceSets ")] | |||||
| 225 | pu blic Resou rceSet[] R esourceSet s { get; s et; } | |||||
| 226 | } | |||||
| 227 | ||||||
| 228 | [DataC ontract(Na mespace = "http://sc hemas.micr osoft.com/ search/loc al/ws/rest /v1")] | |||||
| 229 | public class Rou te : Resou rce | |||||
| 230 | { | |||||
| 231 | [D ataMember( Name = "di stanceUnit ")] | |||||
| 232 | pu blic strin g Distance Unit { get ; set; } | |||||
| 233 | [D ataMember( Name = "du rationUnit ")] | |||||
| 234 | pu blic strin g Duration Unit { get ; set; } | |||||
| 235 | [D ataMember( Name = "tr avelDistan ce")] | |||||
| 236 | pu blic doubl e TravelDi stance { g et; set; } | |||||
| 237 | [D ataMember( Name = "tr avelDurati on")] | |||||
| 238 | pu blic long TravelDura tion { get ; set; } | |||||
| 239 | [D ataMember( Name = "ro uteLegs")] | |||||
| 240 | pu blic Route Leg[] Rout eLegs { ge t; set; } | |||||
| 241 | [D ataMember( Name = "ro utePath")] | |||||
| 242 | pu blic Route Path Route Path { get ; set; } | |||||
| 243 | } | |||||
| 244 | ||||||
| 245 | [DataC ontract] | |||||
| 246 | public class Rou teLeg | |||||
| 247 | { | |||||
| 248 | [D ataMember( Name = "tr avelDistan ce")] | |||||
| 249 | pu blic doubl e TravelDi stance { g et; set; } | |||||
| 250 | [D ataMember( Name = "tr avelDurati on")] | |||||
| 251 | pu blic long TravelDura tion { get ; set; } | |||||
| 252 | [D ataMember( Name = "ac tualStart" )] | |||||
| 253 | pu blic Point ActualSta rt { get; set; } | |||||
| 254 | [D ataMember( Name = "ac tualEnd")] | |||||
| 255 | pu blic Point ActualEnd { get; se t; } | |||||
| 256 | [D ataMember( Name = "st artLocatio n")] | |||||
| 257 | pu blic Locat ion StartL ocation { get; set; } | |||||
| 258 | [D ataMember( Name = "en dLocation" )] | |||||
| 259 | pu blic Locat ion EndLoc ation { ge t; set; } | |||||
| 260 | [D ataMember( Name = "it ineraryIte ms")] | |||||
| 261 | pu blic Itine raryItem[] Itinerary Items { ge t; set; } | |||||
| 262 | } | |||||
| 263 | ||||||
| 264 | [DataC ontract] | |||||
| 265 | public class Rou tePath | |||||
| 266 | { | |||||
| 267 | [D ataMember( Name = "li ne")] | |||||
| 268 | pu blic Line Line { get ; set; } | |||||
| 269 | } | |||||
| 270 | ||||||
| 271 | [DataC ontract] | |||||
| 272 | [Known Type(typeo f(Point))] | |||||
| 273 | public class Sha pe | |||||
| 274 | { | |||||
| 275 | [D ataMember( Name = "bo undingBox" )] | |||||
| 276 | pu blic doubl e[] Boundi ngBox { ge t; set; } | |||||
| 277 | } | |||||
| 278 | [DataC ontract] | |||||
| 279 | public class War ning | |||||
| 280 | { | |||||
| 281 | [D ataMember( Name = "wa rningType" )] | |||||
| 282 | pu blic strin g WarningT ype { get; set; } | |||||
| 283 | [D ataMember( Name = "se verity")] | |||||
| 284 | pu blic strin g Severity { get; se t; } | |||||
| 285 | [D ataMember( Name = "va lue")] | |||||
| 286 | pu blic strin g Value { get; set; } | |||||
| 287 | } | |||||
| 288 | ||||||
| 289 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.