Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------



namespace SmartCharging
{
    public partial class App : global::Windows.UI.Xaml.Markup.IXamlMetadataProvider
    {
        private global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider _provider;

        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(global::System.Type type)
        {
            if(_provider == null)
            {
                _provider = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider();
            }
            return _provider.GetXamlTypeByType(type);
        }

        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(string fullName)
        {
            if(_provider == null)
            {
                _provider = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider();
            }
            return _provider.GetXamlTypeByName(fullName);
        }

        public global::Windows.UI.Xaml.Markup.XmlnsDefinition[] GetXmlnsDefinitions()
        {
            return new global::Windows.UI.Xaml.Markup.XmlnsDefinition[0];
        }
    }
}

namespace SmartCharging.SmartCharging_XamlTypeInfo
{
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal partial class XamlTypeInfoProvider
    {
        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByType(global::System.Type type)
        {
            global::Windows.UI.Xaml.Markup.IXamlType xamlType;
            if (_xamlTypeCacheByType.TryGetValue(type, out xamlType))
            {
                return xamlType;
            }
            int typeIndex = LookupTypeIndexByType(type);
            if(typeIndex != -1)
            {
                xamlType = CreateXamlType(typeIndex);
            }
            var userXamlType = xamlType as global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType;
            if(xamlType == null || (userXamlType != null && userXamlType.IsReturnTypeStub && !userXamlType.IsLocalType))
            {
                global::Windows.UI.Xaml.Markup.IXamlType libXamlType = CheckOtherMetadataProvidersForType(type);
                if (libXamlType != null)
                {
                    if(libXamlType.IsConstructible || xamlType == null)
                    {
                        xamlType = libXamlType;
                    }
                }
            }
            if (xamlType != null)
            {
                _xamlTypeCacheByName.Add(xamlType.FullName, xamlType);
                _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType);
            }
            return xamlType;
        }

        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByName(string typeName)
        {
            if (string.IsNullOrEmpty(typeName))
            {
                return null;
            }
            global::Windows.UI.Xaml.Markup.IXamlType xamlType;
            if (_xamlTypeCacheByName.TryGetValue(typeName, out xamlType))
            {
                return xamlType;
            }
            int typeIndex = LookupTypeIndexByName(typeName);
            if(typeIndex != -1)
            {
                xamlType = CreateXamlType(typeIndex);
            }
            var userXamlType = xamlType as global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType;
            if(xamlType == null || (userXamlType != null && userXamlType.IsReturnTypeStub && !userXamlType.IsLocalType))
            {
                global::Windows.UI.Xaml.Markup.IXamlType libXamlType = CheckOtherMetadataProvidersForName(typeName);
                if (libXamlType != null)
                {
                    if(libXamlType.IsConstructible || xamlType == null)
                    {
                        xamlType = libXamlType;
                    }
                }
            }
            if (xamlType != null)
            {
                _xamlTypeCacheByName.Add(xamlType.FullName, xamlType);
                _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType);
            }
            return xamlType;
        }

        public global::Windows.UI.Xaml.Markup.IXamlMember GetMemberByLongName(string longMemberName)
        {
            if (string.IsNullOrEmpty(longMemberName))
            {
                return null;
            }
            global::Windows.UI.Xaml.Markup.IXamlMember xamlMember;
            if (_xamlMembers.TryGetValue(longMemberName, out xamlMember))
            {
                return xamlMember;
            }
            xamlMember = CreateXamlMember(longMemberName);
            if (xamlMember != null)
            {
                _xamlMembers.Add(longMemberName, xamlMember);
            }
            return xamlMember;
        }

        global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType>
                _xamlTypeCacheByName = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType>();

        global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType>
                _xamlTypeCacheByType = new global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType>();

        global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember>
                _xamlMembers = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember>();

        string[] _typeNameTable = null;
        global::System.Type[] _typeTable = null;

        private void InitTypeTables()
        {
            _typeNameTable = new string[36];
            _typeNameTable[0] = "Windows.UI.Text.FontWeight";
            _typeNameTable[1] = "System.ValueType";
            _typeNameTable[2] = "Object";
            _typeNameTable[3] = "SmartCharging.Converter.NumberToChargetImageConverter";
            _typeNameTable[4] = "SmartCharging.ChargeRating";
            _typeNameTable[5] = "Windows.UI.Xaml.Controls.UserControl";
            _typeNameTable[6] = "Boolean";
            _typeNameTable[7] = "Double";
            _typeNameTable[8] = "SmartCharging.Header";
            _typeNameTable[9] = "SmartCharging.HubPage";
            _typeNameTable[10] = "Windows.UI.Xaml.Controls.Page";
            _typeNameTable[11] = "SmartCharging.Common.NavigationHelper";
            _typeNameTable[12] = "Windows.UI.Xaml.DependencyObject";
            _typeNameTable[13] = "SmartCharging.Common.ObservableDictionary";
            _typeNameTable[14] = "String";
            _typeNameTable[15] = "SmartCharging.ImagePicker";
            _typeNameTable[16] = "SmartCharging.IntroPage";
            _typeNameTable[17] = "SmartCharging.ItemPage";
            _typeNameTable[18] = "SmartCharging.LoginPage";
            _typeNameTable[19] = "SmartCharging.ManageSitePage";
            _typeNameTable[20] = "SmartCharging.Converter.AddressToStringConverter";
            _typeNameTable[21] = "SmartCharging.Converter.ObjectToBooleanConverter";
            _typeNameTable[22] = "System.Collections.Generic.IList`1<Windows.UI.Xaml.DependencyObject>";
            _typeNameTable[23] = "SmartCharging.MapAddressSelectorControl";
            _typeNameTable[24] = "Windows.Services.Maps.MapLocation";
            _typeNameTable[25] = "SmartCharging.Converter.VisibilityConverter";
            _typeNameTable[26] = "SmartCharging.MapPage";
            _typeNameTable[27] = "SmartCharging.MultipleImagePicker";
            _typeNameTable[28] = "SmartCharging.NewReviewPage";
            _typeNameTable[29] = "SmartCharging.SectionPage";
            _typeNameTable[30] = "SmartCharging.SettingsPage";
            _typeNameTable[31] = "SmartCharging.Converter.BoolToVisibilityConverter";
            _typeNameTable[32] = "SmartCharging.ModifySitePage";
            _typeNameTable[33] = "SmartCharging.SiteOwnerRegistrationPage";
            _typeNameTable[34] = "SmartCharging.StandardUserLoggedInPage";
            _typeNameTable[35] = "SmartCharging.StandardUserRegistrationPage";

            _typeTable = new global::System.Type[36];
            _typeTable[0] = typeof(global::Windows.UI.Text.FontWeight);
            _typeTable[1] = typeof(global::System.ValueType);
            _typeTable[2] = typeof(global::System.Object);
            _typeTable[3] = typeof(global::SmartCharging.Converter.NumberToChargetImageConverter);
            _typeTable[4] = typeof(global::SmartCharging.ChargeRating);
            _typeTable[5] = typeof(global::Windows.UI.Xaml.Controls.UserControl);
            _typeTable[6] = typeof(global::System.Boolean);
            _typeTable[7] = typeof(global::System.Double);
            _typeTable[8] = typeof(global::SmartCharging.Header);
            _typeTable[9] = typeof(global::SmartCharging.HubPage);
            _typeTable[10] = typeof(global::Windows.UI.Xaml.Controls.Page);
            _typeTable[11] = typeof(global::SmartCharging.Common.NavigationHelper);
            _typeTable[12] = typeof(global::Windows.UI.Xaml.DependencyObject);
            _typeTable[13] = typeof(global::SmartCharging.Common.ObservableDictionary);
            _typeTable[14] = typeof(global::System.String);
            _typeTable[15] = typeof(global::SmartCharging.ImagePicker);
            _typeTable[16] = typeof(global::SmartCharging.IntroPage);
            _typeTable[17] = typeof(global::SmartCharging.ItemPage);
            _typeTable[18] = typeof(global::SmartCharging.LoginPage);
            _typeTable[19] = typeof(global::SmartCharging.ManageSitePage);
            _typeTable[20] = typeof(global::SmartCharging.Converter.AddressToStringConverter);
            _typeTable[21] = typeof(global::SmartCharging.Converter.ObjectToBooleanConverter);
            _typeTable[22] = typeof(global::System.Collections.Generic.IList<global::Windows.UI.Xaml.DependencyObject>);
            _typeTable[23] = typeof(global::SmartCharging.MapAddressSelectorControl);
            _typeTable[24] = typeof(global::Windows.Services.Maps.MapLocation);
            _typeTable[25] = typeof(global::SmartCharging.Converter.VisibilityConverter);
            _typeTable[26] = typeof(global::SmartCharging.MapPage);
            _typeTable[27] = typeof(global::SmartCharging.MultipleImagePicker);
            _typeTable[28] = typeof(global::SmartCharging.NewReviewPage);
            _typeTable[29] = typeof(global::SmartCharging.SectionPage);
            _typeTable[30] = typeof(global::SmartCharging.SettingsPage);
            _typeTable[31] = typeof(global::SmartCharging.Converter.BoolToVisibilityConverter);
            _typeTable[32] = typeof(global::SmartCharging.ModifySitePage);
            _typeTable[33] = typeof(global::SmartCharging.SiteOwnerRegistrationPage);
            _typeTable[34] = typeof(global::SmartCharging.StandardUserLoggedInPage);
            _typeTable[35] = typeof(global::SmartCharging.StandardUserRegistrationPage);
        }

        private int LookupTypeIndexByName(string typeName)
        {
            if (_typeNameTable == null)
            {
                InitTypeTables();
            }
            for (int i=0; i<_typeNameTable.Length; i++)
            {
                if(0 == string.CompareOrdinal(_typeNameTable[i], typeName))
                {
                    return i;
                }
            }
            return -1;
        }

        private int LookupTypeIndexByType(global::System.Type type)
        {
            if (_typeTable == null)
            {
                InitTypeTables();
            }
            for(int i=0; i<_typeTable.Length; i++)
            {
                if(type == _typeTable[i])
                {
                    return i;
                }
            }
            return -1;
        }

        private object Activate_3_NumberToChargetImageConverter() { return new global::SmartCharging.Converter.NumberToChargetImageConverter(); }
        private object Activate_4_ChargeRating() { return new global::SmartCharging.ChargeRating(); }
        private object Activate_8_Header() { return new global::SmartCharging.Header(); }
        private object Activate_9_HubPage() { return new global::SmartCharging.HubPage(); }
        private object Activate_13_ObservableDictionary() { return new global::SmartCharging.Common.ObservableDictionary(); }
        private object Activate_15_ImagePicker() { return new global::SmartCharging.ImagePicker(); }
        private object Activate_16_IntroPage() { return new global::SmartCharging.IntroPage(); }
        private object Activate_17_ItemPage() { return new global::SmartCharging.ItemPage(); }
        private object Activate_18_LoginPage() { return new global::SmartCharging.LoginPage(); }
        private object Activate_19_ManageSitePage() { return new global::SmartCharging.ManageSitePage(); }
        private object Activate_20_AddressToStringConverter() { return new global::SmartCharging.Converter.AddressToStringConverter(); }
        private object Activate_21_ObjectToBooleanConverter() { return new global::SmartCharging.Converter.ObjectToBooleanConverter(); }
        private object Activate_23_MapAddressSelectorControl() { return new global::SmartCharging.MapAddressSelectorControl(); }
        private object Activate_25_VisibilityConverter() { return new global::SmartCharging.Converter.VisibilityConverter(); }
        private object Activate_26_MapPage() { return new global::SmartCharging.MapPage(); }
        private object Activate_27_MultipleImagePicker() { return new global::SmartCharging.MultipleImagePicker(); }
        private object Activate_28_NewReviewPage() { return new global::SmartCharging.NewReviewPage(); }
        private object Activate_29_SectionPage() { return new global::SmartCharging.SectionPage(); }
        private object Activate_30_SettingsPage() { return new global::SmartCharging.SettingsPage(); }
        private object Activate_31_BoolToVisibilityConverter() { return new global::SmartCharging.Converter.BoolToVisibilityConverter(); }
        private object Activate_32_ModifySitePage() { return new global::SmartCharging.ModifySitePage(); }
        private object Activate_33_SiteOwnerRegistrationPage() { return new global::SmartCharging.SiteOwnerRegistrationPage(); }
        private object Activate_34_StandardUserLoggedInPage() { return new global::SmartCharging.StandardUserLoggedInPage(); }
        private object Activate_35_StandardUserRegistrationPage() { return new global::SmartCharging.StandardUserRegistrationPage(); }
        private void MapAdd_13_ObservableDictionary(object instance, object key, object item)
        {
            var collection = (global::System.Collections.Generic.IDictionary<global::System.String, global::System.Object>)instance;
            var newKey = (global::System.String)key;
            var newItem = (global::System.Object)item;
            collection.Add(newKey, newItem);
        }
        private void VectorAdd_22_IList(object instance, object item)
        {
            var collection = (global::System.Collections.Generic.ICollection<global::Windows.UI.Xaml.DependencyObject>)instance;
            var newItem = (global::Windows.UI.Xaml.DependencyObject)item;
            collection.Add(newItem);
        }

        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  Windows.UI.Text.FontWeight
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                xamlType = userType;
                break;

            case 1:   //  System.ValueType
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 2:   //  Object
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  SmartCharging.Converter.NumberToChargetImageConverter
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_3_NumberToChargetImageConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  SmartCharging.ChargeRating
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_4_ChargeRating;
                userType.AddMemberName("Editable");
                userType.AddMemberName("Value");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  Boolean
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  Double
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  SmartCharging.Header
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_8_Header;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  SmartCharging.HubPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_HubPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  SmartCharging.Common.NavigationHelper
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 12:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 13:   //  SmartCharging.Common.ObservableDictionary
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.DictionaryAdd = MapAdd_13_ObservableDictionary;
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  String
                xamlType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 15:   //  SmartCharging.ImagePicker
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_15_ImagePicker;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  SmartCharging.IntroPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_16_IntroPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 17:   //  SmartCharging.ItemPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_17_ItemPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 18:   //  SmartCharging.LoginPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_18_LoginPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 19:   //  SmartCharging.ManageSitePage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_19_ManageSitePage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 20:   //  SmartCharging.Converter.AddressToStringConverter
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_20_AddressToStringConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 21:   //  SmartCharging.Converter.ObjectToBooleanConverter
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_21_ObjectToBooleanConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 22:   //  System.Collections.Generic.IList`1<Windows.UI.Xaml.DependencyObject>
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, null);
                userType.CollectionAdd = VectorAdd_22_IList;
                xamlType = userType;
                break;

            case 23:   //  SmartCharging.MapAddressSelectorControl
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_23_MapAddressSelectorControl;
                userType.AddMemberName("siteLocation");
                userType.AddMemberName("addressString");
                userType.AddMemberName("townLocation");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 24:   //  Windows.Services.Maps.MapLocation
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 25:   //  SmartCharging.Converter.VisibilityConverter
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_25_VisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 26:   //  SmartCharging.MapPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_26_MapPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 27:   //  SmartCharging.MultipleImagePicker
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_27_MultipleImagePicker;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 28:   //  SmartCharging.NewReviewPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_28_NewReviewPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 29:   //  SmartCharging.SectionPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_29_SectionPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 30:   //  SmartCharging.SettingsPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_30_SettingsPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 31:   //  SmartCharging.Converter.BoolToVisibilityConverter
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_31_BoolToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 32:   //  SmartCharging.ModifySitePage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_32_ModifySitePage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 33:   //  SmartCharging.SiteOwnerRegistrationPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_33_SiteOwnerRegistrationPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 34:   //  SmartCharging.StandardUserLoggedInPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_34_StandardUserLoggedInPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 35:   //  SmartCharging.StandardUserRegistrationPage
                userType = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_35_StandardUserRegistrationPage;
                userType.AddMemberName("NavigationHelper");
                userType.AddMemberName("DefaultViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }

        private global::System.Collections.Generic.List<global::Windows.UI.Xaml.Markup.IXamlMetadataProvider> _otherProviders;
        private global::System.Collections.Generic.List<global::Windows.UI.Xaml.Markup.IXamlMetadataProvider> OtherProviders
        {
            get
            {
                if(_otherProviders == null)
                {
                    _otherProviders = new global::System.Collections.Generic.List<global::Windows.UI.Xaml.Markup.IXamlMetadataProvider>();
                    global::Windows.UI.Xaml.Markup.IXamlMetadataProvider provider;
                    provider = new global::WinRTXamlToolkit.WinRTXamlToolkit_WindowsPhone_XamlTypeInfo.XamlMetaDataProvider() as global::Windows.UI.Xaml.Markup.IXamlMetadataProvider;
                    _otherProviders.Add(provider); 
                }
                return _otherProviders;
            }
        }

        private global::Windows.UI.Xaml.Markup.IXamlType CheckOtherMetadataProvidersForName(string typeName)
        {
            global::Windows.UI.Xaml.Markup.IXamlType xamlType = null;
            global::Windows.UI.Xaml.Markup.IXamlType foundXamlType = null;
            foreach(global::Windows.UI.Xaml.Markup.IXamlMetadataProvider xmp in OtherProviders)
            {
                xamlType = xmp.GetXamlType(typeName);
                if(xamlType != null)
                {
                    if(xamlType.IsConstructible)    // not Constructible means it might be a Return Type Stub
                    {
                        return xamlType;
                    }
                    foundXamlType = xamlType;
                }
            }
            return foundXamlType;
        }

        private global::Windows.UI.Xaml.Markup.IXamlType CheckOtherMetadataProvidersForType(global::System.Type type)
        {
            global::Windows.UI.Xaml.Markup.IXamlType xamlType = null;
            global::Windows.UI.Xaml.Markup.IXamlType foundXamlType = null;
            foreach(global::Windows.UI.Xaml.Markup.IXamlMetadataProvider xmp in OtherProviders)
            {
                xamlType = xmp.GetXamlType(type);
                if(xamlType != null)
                {
                    if(xamlType.IsConstructible)    // not Constructible means it might be a Return Type Stub
                    {
                        return xamlType;
                    }
                    foundXamlType = xamlType;
                }
            }
            return foundXamlType;
        }

        private object get_0_ChargeRating_Editable(object instance)
        {
            var that = (global::SmartCharging.ChargeRating)instance;
            return that.Editable;
        }
        private void set_0_ChargeRating_Editable(object instance, object Value)
        {
            var that = (global::SmartCharging.ChargeRating)instance;
            that.Editable = (global::System.Boolean)Value;
        }
        private object get_1_ChargeRating_Value(object instance)
        {
            var that = (global::SmartCharging.ChargeRating)instance;
            return that.Value;
        }
        private void set_1_ChargeRating_Value(object instance, object Value)
        {
            var that = (global::SmartCharging.ChargeRating)instance;
            that.Value = (global::System.Double)Value;
        }
        private object get_2_HubPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.HubPage)instance;
            return that.NavigationHelper;
        }
        private object get_3_HubPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.HubPage)instance;
            return that.DefaultViewModel;
        }
        private object get_4_IntroPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.IntroPage)instance;
            return that.NavigationHelper;
        }
        private object get_5_IntroPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.IntroPage)instance;
            return that.DefaultViewModel;
        }
        private object get_6_ItemPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.ItemPage)instance;
            return that.NavigationHelper;
        }
        private object get_7_ItemPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.ItemPage)instance;
            return that.DefaultViewModel;
        }
        private object get_8_LoginPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.LoginPage)instance;
            return that.NavigationHelper;
        }
        private object get_9_LoginPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.LoginPage)instance;
            return that.DefaultViewModel;
        }
        private object get_10_ManageSitePage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.ManageSitePage)instance;
            return that.NavigationHelper;
        }
        private object get_11_ManageSitePage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.ManageSitePage)instance;
            return that.DefaultViewModel;
        }
        private object get_12_MapAddressSelectorControl_siteLocation(object instance)
        {
            var that = (global::SmartCharging.MapAddressSelectorControl)instance;
            return that.siteLocation;
        }
        private object get_13_MapAddressSelectorControl_addressString(object instance)
        {
            var that = (global::SmartCharging.MapAddressSelectorControl)instance;
            return that.addressString;
        }
        private object get_14_MapAddressSelectorControl_townLocation(object instance)
        {
            var that = (global::SmartCharging.MapAddressSelectorControl)instance;
            return that.townLocation;
        }
        private object get_15_MapPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.MapPage)instance;
            return that.NavigationHelper;
        }
        private object get_16_MapPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.MapPage)instance;
            return that.DefaultViewModel;
        }
        private object get_17_NewReviewPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.NewReviewPage)instance;
            return that.NavigationHelper;
        }
        private object get_18_NewReviewPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.NewReviewPage)instance;
            return that.DefaultViewModel;
        }
        private object get_19_SectionPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.SectionPage)instance;
            return that.NavigationHelper;
        }
        private object get_20_SectionPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.SectionPage)instance;
            return that.DefaultViewModel;
        }
        private object get_21_SettingsPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.SettingsPage)instance;
            return that.NavigationHelper;
        }
        private object get_22_SettingsPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.SettingsPage)instance;
            return that.DefaultViewModel;
        }
        private object get_23_ModifySitePage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.ModifySitePage)instance;
            return that.NavigationHelper;
        }
        private object get_24_ModifySitePage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.ModifySitePage)instance;
            return that.DefaultViewModel;
        }
        private object get_25_SiteOwnerRegistrationPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.SiteOwnerRegistrationPage)instance;
            return that.NavigationHelper;
        }
        private object get_26_SiteOwnerRegistrationPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.SiteOwnerRegistrationPage)instance;
            return that.DefaultViewModel;
        }
        private object get_27_StandardUserLoggedInPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.StandardUserLoggedInPage)instance;
            return that.NavigationHelper;
        }
        private object get_28_StandardUserLoggedInPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.StandardUserLoggedInPage)instance;
            return that.DefaultViewModel;
        }
        private object get_29_StandardUserRegistrationPage_NavigationHelper(object instance)
        {
            var that = (global::SmartCharging.StandardUserRegistrationPage)instance;
            return that.NavigationHelper;
        }
        private object get_30_StandardUserRegistrationPage_DefaultViewModel(object instance)
        {
            var that = (global::SmartCharging.StandardUserRegistrationPage)instance;
            return that.DefaultViewModel;
        }

        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember xamlMember = null;
            global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "SmartCharging.ChargeRating.Editable":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ChargeRating");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "Editable", "Boolean");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_0_ChargeRating_Editable;
                xamlMember.Setter = set_0_ChargeRating_Editable;
                break;
            case "SmartCharging.ChargeRating.Value":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ChargeRating");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "Value", "Double");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_1_ChargeRating_Value;
                xamlMember.Setter = set_1_ChargeRating_Value;
                break;
            case "SmartCharging.HubPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.HubPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_2_HubPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.HubPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.HubPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_3_HubPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.IntroPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.IntroPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_4_IntroPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.IntroPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.IntroPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_5_IntroPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.ItemPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ItemPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_6_ItemPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.ItemPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ItemPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_7_ItemPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.LoginPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.LoginPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_8_LoginPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.LoginPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.LoginPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_9_LoginPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.ManageSitePage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ManageSitePage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_10_ManageSitePage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.ManageSitePage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ManageSitePage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_11_ManageSitePage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.MapAddressSelectorControl.siteLocation":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.MapAddressSelectorControl");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "siteLocation", "Windows.Services.Maps.MapLocation");
                xamlMember.Getter = get_12_MapAddressSelectorControl_siteLocation;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.MapAddressSelectorControl.addressString":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.MapAddressSelectorControl");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "addressString", "String");
                xamlMember.Getter = get_13_MapAddressSelectorControl_addressString;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.MapAddressSelectorControl.townLocation":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.MapAddressSelectorControl");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "townLocation", "Windows.Services.Maps.MapLocation");
                xamlMember.Getter = get_14_MapAddressSelectorControl_townLocation;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.MapPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.MapPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_15_MapPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.MapPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.MapPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_16_MapPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.NewReviewPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.NewReviewPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_17_NewReviewPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.NewReviewPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.NewReviewPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_18_NewReviewPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.SectionPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.SectionPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_19_SectionPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.SectionPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.SectionPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_20_SectionPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.SettingsPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.SettingsPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_21_SettingsPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.SettingsPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.SettingsPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_22_SettingsPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.ModifySitePage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ModifySitePage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_23_ModifySitePage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.ModifySitePage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.ModifySitePage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_24_ModifySitePage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.SiteOwnerRegistrationPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.SiteOwnerRegistrationPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_25_SiteOwnerRegistrationPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.SiteOwnerRegistrationPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.SiteOwnerRegistrationPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_26_SiteOwnerRegistrationPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.StandardUserLoggedInPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.StandardUserLoggedInPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_27_StandardUserLoggedInPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.StandardUserLoggedInPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.StandardUserLoggedInPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_28_StandardUserLoggedInPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.StandardUserRegistrationPage.NavigationHelper":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.StandardUserRegistrationPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "NavigationHelper", "SmartCharging.Common.NavigationHelper");
                xamlMember.Getter = get_29_StandardUserRegistrationPage_NavigationHelper;
                xamlMember.SetIsReadOnly();
                break;
            case "SmartCharging.StandardUserRegistrationPage.DefaultViewModel":
                userType = (global::SmartCharging.SmartCharging_XamlTypeInfo.XamlUserType)GetXamlTypeByName("SmartCharging.StandardUserRegistrationPage");
                xamlMember = new global::SmartCharging.SmartCharging_XamlTypeInfo.XamlMember(this, "DefaultViewModel", "SmartCharging.Common.ObservableDictionary");
                xamlMember.Getter = get_30_StandardUserRegistrationPage_DefaultViewModel;
                xamlMember.SetIsReadOnly();
                break;
            }
            return xamlMember;
        }
    }

    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal class XamlSystemBaseType : global::Windows.UI.Xaml.Markup.IXamlType
    {
        string _fullName;
        global::System.Type _underlyingType;

        public XamlSystemBaseType(string fullName, global::System.Type underlyingType)
        {
            _fullName = fullName;
            _underlyingType = underlyingType;
        }

        public string FullName { get { return _fullName; } }

        public global::System.Type UnderlyingType
        {
            get
            {
                return _underlyingType;
            }
        }

        virtual public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name) { throw new global::System.NotImplementedException(); }
        virtual public bool IsArray { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsCollection { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsConstructible { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsDictionary { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsMarkupExtension { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsBindable { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsReturnTypeStub { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsLocalType { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlType ItemType { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlType KeyType { get { throw new global::System.NotImplementedException(); } }
        virtual public object ActivateInstance() { throw new global::System.NotImplementedException(); }
        virtual public void AddToMap(object instance, object key, object item)  { throw new global::System.NotImplementedException(); }
        virtual public void AddToVector(object instance, object item)  { throw new global::System.NotImplementedException(); }
        virtual public void RunInitializer()   { throw new global::System.NotImplementedException(); }
        virtual public object CreateFromString(string input)   { throw new global::System.NotImplementedException(); }
    }
    
    internal delegate object Activator();
    internal delegate void AddToCollection(object instance, object item);
    internal delegate void AddToDictionary(object instance, object key, object item);

    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal class XamlUserType : global::SmartCharging.SmartCharging_XamlTypeInfo.XamlSystemBaseType
    {
        global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider _provider;
        global::Windows.UI.Xaml.Markup.IXamlType _baseType;
        bool _isArray;
        bool _isMarkupExtension;
        bool _isBindable;
        bool _isReturnTypeStub;
        bool _isLocalType;

        string _contentPropertyName;
        string _itemTypeName;
        string _keyTypeName;
        global::System.Collections.Generic.Dictionary<string, string> _memberNames;
        global::System.Collections.Generic.Dictionary<string, object> _enumValues;

        public XamlUserType(global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider provider, string fullName, global::System.Type fullType, global::Windows.UI.Xaml.Markup.IXamlType baseType)
            :base(fullName, fullType)
        {
            _provider = provider;
            _baseType = baseType;
        }

        // --- Interface methods ----

        override public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { return _baseType; } }
        override public bool IsArray { get { return _isArray; } }
        override public bool IsCollection { get { return (CollectionAdd != null); } }
        override public bool IsConstructible { get { return (Activator != null); } }
        override public bool IsDictionary { get { return (DictionaryAdd != null); } }
        override public bool IsMarkupExtension { get { return _isMarkupExtension; } }
        override public bool IsBindable { get { return _isBindable; } }
        override public bool IsReturnTypeStub { get { return _isReturnTypeStub; } }
        override public bool IsLocalType { get { return _isLocalType; } }

        override public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty
        {
            get { return _provider.GetMemberByLongName(_contentPropertyName); }
        }

        override public global::Windows.UI.Xaml.Markup.IXamlType ItemType
        {
            get { return _provider.GetXamlTypeByName(_itemTypeName); }
        }

        override public global::Windows.UI.Xaml.Markup.IXamlType KeyType
        {
            get { return _provider.GetXamlTypeByName(_keyTypeName); }
        }

        override public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name)
        {
            if (_memberNames == null)
            {
                return null;
            }
            string longName;
            if (_memberNames.TryGetValue(name, out longName))
            {
                return _provider.GetMemberByLongName(longName);
            }
            return null;
        }

        override public object ActivateInstance()
        {
            return Activator(); 
        }

        override public void AddToMap(object instance, object key, object item) 
        {
            DictionaryAdd(instance, key, item);
        }

        override public void AddToVector(object instance, object item)
        {
            CollectionAdd(instance, item);
        }

        override public void RunInitializer() 
        {
            System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(UnderlyingType.TypeHandle);
        }

        override public object CreateFromString(string input)
        {
            if (_enumValues != null)
            {
                int value = 0;

                string[] valueParts = input.Split(',');

                foreach (string valuePart in valueParts) 
                {
                    object partValue;
                    int enumFieldValue = 0;
                    try
                    {
                        if (_enumValues.TryGetValue(valuePart.Trim(), out partValue))
                        {
                            enumFieldValue = global::System.Convert.ToInt32(partValue);
                        }
                        else
                        {
                            try
                            {
                                enumFieldValue = global::System.Convert.ToInt32(valuePart.Trim());
                            }
                            catch( global::System.FormatException )
                            {
                                foreach( string key in _enumValues.Keys )
                                {
                                    if( string.Compare(valuePart.Trim(), key, global::System.StringComparison.OrdinalIgnoreCase) == 0 )
                                    {
                                        if( _enumValues.TryGetValue(key.Trim(), out partValue) )
                                        {
                                            enumFieldValue = global::System.Convert.ToInt32(partValue);
                                            break;
                                        }
                                    }
                                }
                            }
                        }
                        value |= enumFieldValue; 
                    }
                    catch( global::System.FormatException )
                    {
                        throw new global::System.ArgumentException(input, FullName);
                    }
                }

                return value; 
            }
            throw new global::System.ArgumentException(input, FullName);
        }

        // --- End of Interface methods

        public Activator Activator { get; set; }
        public AddToCollection CollectionAdd { get; set; }
        public AddToDictionary DictionaryAdd { get; set; }

        public void SetContentPropertyName(string contentPropertyName)
        {
            _contentPropertyName = contentPropertyName;
        }

        public void SetIsArray()
        {
            _isArray = true; 
        }

        public void SetIsMarkupExtension()
        {
            _isMarkupExtension = true;
        }

        public void SetIsBindable()
        {
            _isBindable = true;
        }

        public void SetIsReturnTypeStub()
        {
            _isReturnTypeStub = true;
        }

        public void SetIsLocalType()
        {
            _isLocalType = true;
        }

        public void SetItemTypeName(string itemTypeName)
        {
            _itemTypeName = itemTypeName;
        }

        public void SetKeyTypeName(string keyTypeName)
        {
            _keyTypeName = keyTypeName;
        }

        public void AddMemberName(string shortName)
        {
            if(_memberNames == null)
            {
                _memberNames =  new global::System.Collections.Generic.Dictionary<string,string>();
            }
            _memberNames.Add(shortName, FullName + "." + shortName);
        }

        public void AddEnumValue(string name, object value)
        {
            if (_enumValues == null)
            {
                _enumValues = new global::System.Collections.Generic.Dictionary<string, object>();
            }
            _enumValues.Add(name, value);
        }
    }

    internal delegate object Getter(object instance);
    internal delegate void Setter(object instance, object value);

    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal class XamlMember : global::Windows.UI.Xaml.Markup.IXamlMember
    {
        global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider _provider;
        string _name;
        bool _isAttachable;
        bool _isDependencyProperty;
        bool _isReadOnly;

        string _typeName;
        string _targetTypeName;

        public XamlMember(global::SmartCharging.SmartCharging_XamlTypeInfo.XamlTypeInfoProvider provider, string name, string typeName)
        {
            _name = name;
            _typeName = typeName;
            _provider = provider;
        }

        public string Name { get { return _name; } }

        public global::Windows.UI.Xaml.Markup.IXamlType Type
        {
            get { return _provider.GetXamlTypeByName(_typeName); }
        }

        public void SetTargetTypeName(string targetTypeName)
        {
            _targetTypeName = targetTypeName;
        }
        public global::Windows.UI.Xaml.Markup.IXamlType TargetType
        {
            get { return _provider.GetXamlTypeByName(_targetTypeName); }
        }

        public void SetIsAttachable() { _isAttachable = true; }
        public bool IsAttachable { get { return _isAttachable; } }

        public void SetIsDependencyProperty() { _isDependencyProperty = true; }
        public bool IsDependencyProperty { get { return _isDependencyProperty; } }

        public void SetIsReadOnly() { _isReadOnly = true; }
        public bool IsReadOnly { get { return _isReadOnly; } }

        public Getter Getter { get; set; }
        public object GetValue(object instance)
        {
            if (Getter != null)
                return Getter(instance);
            else
                throw new global::System.InvalidOperationException("GetValue");
        }

        public Setter Setter { get; set; }
        public void SetValue(object instance, object value)
        {
            if (Setter != null)
                Setter(instance, value);
            else
                throw new global::System.InvalidOperationException("SetValue");
        }
    }
}



Commits for Nextrek/Android/SmartCharging/SmartCharging_WP/SmartCharging/obj/Debug/XamlTypeInfo.g.cs.backup

Diff revisions: vs.
Revision Author Commited Message
752 JMBauan picture JMBauan Wed 16 Sep, 2015 20:06:56 +0000

upload Avatar
Edit site