-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathMicrosoft.Search.Query.xsd.cs
More file actions
5733 lines (4600 loc) · 231 KB
/
Microsoft.Search.Query.xsd.cs
File metadata and controls
5733 lines (4600 loc) · 231 KB
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
//------------------------------------------------------------------------------
// <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 Microsoft.Search.Query.Schemas {
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Linq;
using Xml.Schema.Linq;
/// <summary>
/// <para>
/// Regular expression: (Query)
/// </para>
/// </summary>
public partial class QueryPacket : XTypedElement, IXMetaData {
public void Save(string xmlFile) {
XTypedServices.Save(xmlFile, Untyped);
}
public void Save(System.IO.TextWriter tw) {
XTypedServices.Save(tw, Untyped);
}
public void Save(System.Xml.XmlWriter xmlWriter) {
XTypedServices.Save(xmlWriter, Untyped);
}
public static QueryPacket Load(string xmlFile) {
return XTypedServices.Load<QueryPacket>(xmlFile);
}
public static QueryPacket Load(System.IO.TextReader xmlFile) {
return XTypedServices.Load<QueryPacket>(xmlFile);
}
public static QueryPacket Parse(string xml) {
return XTypedServices.Parse<QueryPacket>(xml);
}
public static explicit operator QueryPacket(XElement xe) { return XTypedServices.ToXTypedElement<QueryPacket>(xe,LinqToXsdTypeManager.Instance as ILinqToXsdTypeManager); }
public override XTypedElement Clone() {
return XTypedServices.CloneXTypedElement<QueryPacket>(this);
}
/// <summary>
/// <para>
/// Regular expression: (Query)
/// </para>
/// </summary>
public QueryPacket() {
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName QueryXName = System.Xml.Linq.XName.Get("Query", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: required
/// </para>
/// <para>
/// Regular expression: (Query)
/// </para>
/// </summary>
public virtual QueryLocalType Query {
get {
XElement x = this.GetElement(QueryXName);
return ((QueryLocalType)(x));
}
set {
this.SetElement(QueryXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName revisionXName = System.Xml.Linq.XName.Get("revision", "");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// </summary>
public virtual System.Int32? revision {
get {
XAttribute x = this.Attribute(revisionXName);
if ((x == null)) {
return null;
}
return XTypedServices.ParseValue<int>(x, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Int).Datatype);
}
set {
this.SetAttribute(revisionXName, value, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Int).Datatype);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName buildXName = System.Xml.Linq.XName.Get("build", "");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// </summary>
public virtual string build {
get {
XAttribute x = this.Attribute(buildXName);
if ((x == null)) {
return null;
}
return XTypedServices.ParseValue<string>(x, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String).Datatype);
}
set {
this.SetAttribute(buildXName, value, XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String).Datatype);
}
}
private static readonly System.Xml.Linq.XName xName = System.Xml.Linq.XName.Get("QueryPacket", "urn:Microsoft.Search.Query");
static QueryPacket() {
BuildElementDictionary();
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Dictionary<System.Xml.Linq.XName, System.Type> localElementDictionary = new Dictionary<System.Xml.Linq.XName, System.Type>();
private static void BuildElementDictionary() {
localElementDictionary.Add(QueryXName, typeof(QueryLocalType));
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
Dictionary<System.Xml.Linq.XName, System.Type> IXMetaData.LocalElementsDictionary {
get {
return localElementDictionary;
}
}
ContentModelEntity IXMetaData.GetContentModel() {
return ContentModelEntity.Default;
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
System.Xml.Linq.XName IXMetaData.SchemaName {
get {
return xName;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
SchemaOrigin IXMetaData.TypeOrigin {
get {
return SchemaOrigin.Element;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
ILinqToXsdTypeManager IXMetaData.TypeManager {
get {
return LinqToXsdTypeManager.Instance;
}
}
/// <summary>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public partial class QueryLocalType : XTypedElement, IXMetaData {
public static explicit operator QueryLocalType(XElement xe) { return XTypedServices.ToXTypedElement<QueryLocalType>(xe,LinqToXsdTypeManager.Instance as ILinqToXsdTypeManager); }
public override XTypedElement Clone() {
return XTypedServices.CloneXTypedElement<QueryLocalType>(this);
}
/// <summary>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public QueryLocalType() {
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName QueryIdXName = System.Xml.Linq.XName.Get("QueryId", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// If this element is present, it must be returned in the response from the Query Web service.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual QueryId QueryId {
get {
XElement x = this.GetElement(QueryIdXName);
if ((x == null)) {
return null;
}
return ((QueryId)(x));
}
set {
this.SetElement(QueryIdXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName ContextXName = System.Xml.Linq.XName.Get("Context", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual Context Context {
get {
XElement x = this.GetElement(ContextXName);
if ((x == null)) {
return null;
}
return ((Context)(x));
}
set {
this.SetElement(ContextXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName RangeXName = System.Xml.Linq.XName.Get("Range", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual Range Range {
get {
XElement x = this.GetElement(RangeXName);
if ((x == null)) {
return null;
}
return ((Range)(x));
}
set {
this.SetElement(RangeXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName PropertiesXName = System.Xml.Linq.XName.Get("Properties", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual Properties Properties {
get {
XElement x = this.GetElement(PropertiesXName);
if ((x == null)) {
return null;
}
return ((Properties)(x));
}
set {
this.SetElement(PropertiesXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName SortByPropertiesXName = System.Xml.Linq.XName.Get("SortByProperties", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// If no managed properties are specified for sorting results, by default the results will be sorted by Rank.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual SortByProperties SortByProperties {
get {
XElement x = this.GetElement(SortByPropertiesXName);
if ((x == null)) {
return null;
}
return ((SortByProperties)(x));
}
set {
this.SetElement(SortByPropertiesXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName ImplicitAndBehaviorXName = System.Xml.Linq.XName.Get("ImplicitAndBehavior", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// This element applies to the Query Web method, and only when using the Keyword Query Syntax Reference. The only format that is supported is the Microsoft.Search.Response.Document format.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual ImplicitAndBehavior ImplicitAndBehavior {
get {
XElement x = this.GetElement(ImplicitAndBehaviorXName);
if ((x == null)) {
return null;
}
return ((ImplicitAndBehavior)(x));
}
set {
this.SetElement(ImplicitAndBehaviorXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName RelevanceModelXName = System.Xml.Linq.XName.Get("RelevanceModel", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual RelevanceModel RelevanceModel {
get {
XElement x = this.GetElement(RelevanceModelXName);
if ((x == null)) {
return null;
}
return ((RelevanceModel)(x));
}
set {
this.SetElement(RelevanceModelXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName EnableStemmingXName = System.Xml.Linq.XName.Get("EnableStemming", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// When using the FAST Query Language, it is also possible to control stemming more precisely inside the query string.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual EnableStemming EnableStemming {
get {
XElement x = this.GetElement(EnableStemmingXName);
if ((x == null)) {
return null;
}
return ((EnableStemming)(x));
}
set {
this.SetElement(EnableStemmingXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName TrimDuplicatesXName = System.Xml.Linq.XName.Get("TrimDuplicates", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// For FAST Search Server 2010 for SharePoint, this element can also be used to collapse hits in the result set by using a group identifier (ID).
///
///The attributes apply only to FAST Search Server 2010 for SharePoint.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual TrimDuplicates TrimDuplicates {
get {
XElement x = this.GetElement(TrimDuplicatesXName);
if ((x == null)) {
return null;
}
return ((TrimDuplicates)(x));
}
set {
this.SetElement(TrimDuplicatesXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName IncludeSpecialTermResultsXName = System.Xml.Linq.XName.Get("IncludeSpecialTermResults", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// For FAST Search Server 2010 for SharePoint, special term results includes best bets and Visual best bets.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual IncludeSpecialTermResults IncludeSpecialTermResults {
get {
XElement x = this.GetElement(IncludeSpecialTermResultsXName);
if ((x == null)) {
return null;
}
return ((IncludeSpecialTermResults)(x));
}
set {
this.SetElement(IncludeSpecialTermResultsXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName PreQuerySuggestionsXName = System.Xml.Linq.XName.Get("PreQuerySuggestions", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual PreQuerySuggestions PreQuerySuggestions {
get {
XElement x = this.GetElement(PreQuerySuggestionsXName);
if ((x == null)) {
return null;
}
return ((PreQuerySuggestions)(x));
}
set {
this.SetElement(PreQuerySuggestionsXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName HighlightQuerySuggestionsXName = System.Xml.Linq.XName.Get("HighlightQuerySuggestions", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual HighlightQuerySuggestions HighlightQuerySuggestions {
get {
XElement x = this.GetElement(HighlightQuerySuggestionsXName);
if ((x == null)) {
return null;
}
return ((HighlightQuerySuggestions)(x));
}
set {
this.SetElement(HighlightQuerySuggestionsXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName CapitalizeFirstLettersXName = System.Xml.Linq.XName.Get("CapitalizeFirstLetters", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual CapitalizeFirstLetters CapitalizeFirstLetters {
get {
XElement x = this.GetElement(CapitalizeFirstLettersXName);
if ((x == null)) {
return null;
}
return ((CapitalizeFirstLetters)(x));
}
set {
this.SetElement(CapitalizeFirstLettersXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName ResultProviderXName = System.Xml.Linq.XName.Get("ResultProvider", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// NOTE: For People Search queries, specify SharePointSearch as the result provider even when FAST Search Server 2010 for SharePoint is the search back-end.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual Microsoft.Search.Query.Schemas.ResultProvider ResultProvider {
get {
XElement x = this.GetElement(ResultProviderXName);
if ((x == null)) {
return null;
}
return ((Microsoft.Search.Query.Schemas.ResultProvider)(x));
}
set {
this.SetElement(ResultProviderXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName ResubmitFlagsXName = System.Xml.Linq.XName.Get("ResubmitFlags", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual ResubmitFlags ResubmitFlags {
get {
XElement x = this.GetElement(ResubmitFlagsXName);
if ((x == null)) {
return null;
}
return ((ResubmitFlags)(x));
}
set {
this.SetElement(ResubmitFlagsXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName EnableSpellcheckXName = System.Xml.Linq.XName.Get("EnableSpellcheck", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// The element value specifies the spelling correction mode to apply to the query.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual Microsoft.Search.Query.Schemas.EnableSpellcheck EnableSpellcheck {
get {
XElement x = this.GetElement(EnableSpellcheckXName);
if ((x == null)) {
return null;
}
return ((Microsoft.Search.Query.Schemas.EnableSpellcheck)(x));
}
set {
this.SetElement(EnableSpellcheckXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName UserContextXName = System.Xml.Linq.XName.Get("UserContext", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// The keyword management search settings can be restricted to context. A context defines when a search setting should apply, typically targeting a specific group of users.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual UserContext UserContext {
get {
XElement x = this.GetElement(UserContextXName);
if ((x == null)) {
return null;
}
return ((UserContext)(x));
}
set {
this.SetElement(UserContextXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName FindSimilarXName = System.Xml.Linq.XName.Get("FindSimilar", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// The find similar features enable you to search for documents that are similar to already retrieved query results. The similarity evaluation is based on a statistical measure.
/// </para>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual FindSimilar FindSimilar {
get {
XElement x = this.GetElement(FindSimilarXName);
if ((x == null)) {
return null;
}
return ((FindSimilar)(x));
}
set {
this.SetElement(FindSimilarXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName IncludeRefinementResultsXName = System.Xml.Linq.XName.Get("IncludeRefinementResults", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual IncludeRefinementResults IncludeRefinementResults {
get {
XElement x = this.GetElement(IncludeRefinementResultsXName);
if ((x == null)) {
return null;
}
return ((IncludeRefinementResults)(x));
}
set {
this.SetElement(IncludeRefinementResultsXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName RefinementFiltersXName = System.Xml.Linq.XName.Get("RefinementFilters", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual RefinementFilters RefinementFilters {
get {
XElement x = this.GetElement(RefinementFiltersXName);
if ((x == null)) {
return null;
}
return ((RefinementFilters)(x));
}
set {
this.SetElement(RefinementFiltersXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName IgnoreAllNoiseQueryXName = System.Xml.Linq.XName.Get("IgnoreAllNoiseQuery", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual IgnoreAllNoiseQuery IgnoreAllNoiseQuery {
get {
XElement x = this.GetElement(IgnoreAllNoiseQueryXName);
if ((x == null)) {
return null;
}
return ((IgnoreAllNoiseQuery)(x));
}
set {
this.SetElement(IgnoreAllNoiseQueryXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName IncludeRelevantResultsXName = System.Xml.Linq.XName.Get("IncludeRelevantResults", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual IncludeRelevantResults IncludeRelevantResults {
get {
XElement x = this.GetElement(IncludeRelevantResultsXName);
if ((x == null)) {
return null;
}
return ((IncludeRelevantResults)(x));
}
set {
this.SetElement(IncludeRelevantResultsXName, value);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName IncludeHighConfidenceResultsXName = System.Xml.Linq.XName.Get("IncludeHighConfidenceResults", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: optional
/// </para>
/// <para>
/// Regular expression: (QueryId?, Context?, Range?, Properties?, SortByProperties?, ImplicitAndBehavior?, RelevanceModel?, EnableStemming?, TrimDuplicates?, IncludeSpecialTermResults?, PreQuerySuggestions?, HighlightQuerySuggestions?, CapitalizeFirstLetters?, ResultProvider?, ResubmitFlags?, EnableSpellcheck?, UserContext?, FindSimilar?, IncludeRefinementResults?, RefinementFilters?, IgnoreAllNoiseQuery?, IncludeRelevantResults?, IncludeHighConfidenceResults?)
/// </para>
/// </summary>
public virtual IncludeHighConfidenceResults IncludeHighConfidenceResults {
get {
XElement x = this.GetElement(IncludeHighConfidenceResultsXName);
if ((x == null)) {
return null;
}
return ((IncludeHighConfidenceResults)(x));
}
set {
this.SetElement(IncludeHighConfidenceResultsXName, value);
}
}
private static readonly System.Xml.Linq.XName xName = System.Xml.Linq.XName.Get("Query", "urn:Microsoft.Search.Query");
static QueryLocalType() {
BuildElementDictionary();
contentModel = new SequenceContentModelEntity(new NamedContentModelEntity(QueryIdXName), new NamedContentModelEntity(ContextXName), new NamedContentModelEntity(RangeXName), new NamedContentModelEntity(PropertiesXName), new NamedContentModelEntity(SortByPropertiesXName), new NamedContentModelEntity(ImplicitAndBehaviorXName), new NamedContentModelEntity(RelevanceModelXName), new NamedContentModelEntity(EnableStemmingXName), new NamedContentModelEntity(TrimDuplicatesXName), new NamedContentModelEntity(IncludeSpecialTermResultsXName), new NamedContentModelEntity(PreQuerySuggestionsXName), new NamedContentModelEntity(HighlightQuerySuggestionsXName), new NamedContentModelEntity(CapitalizeFirstLettersXName), new NamedContentModelEntity(ResultProviderXName), new NamedContentModelEntity(ResubmitFlagsXName), new NamedContentModelEntity(EnableSpellcheckXName), new NamedContentModelEntity(UserContextXName), new NamedContentModelEntity(FindSimilarXName), new NamedContentModelEntity(IncludeRefinementResultsXName), new NamedContentModelEntity(RefinementFiltersXName), new NamedContentModelEntity(IgnoreAllNoiseQueryXName), new NamedContentModelEntity(IncludeRelevantResultsXName), new NamedContentModelEntity(IncludeHighConfidenceResultsXName));
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static Dictionary<System.Xml.Linq.XName, System.Type> localElementDictionary = new Dictionary<System.Xml.Linq.XName, System.Type>();
private static void BuildElementDictionary() {
localElementDictionary.Add(QueryIdXName, typeof(QueryId));
localElementDictionary.Add(ContextXName, typeof(Context));
localElementDictionary.Add(RangeXName, typeof(Range));
localElementDictionary.Add(PropertiesXName, typeof(Properties));
localElementDictionary.Add(SortByPropertiesXName, typeof(SortByProperties));
localElementDictionary.Add(ImplicitAndBehaviorXName, typeof(ImplicitAndBehavior));
localElementDictionary.Add(RelevanceModelXName, typeof(RelevanceModel));
localElementDictionary.Add(EnableStemmingXName, typeof(EnableStemming));
localElementDictionary.Add(TrimDuplicatesXName, typeof(TrimDuplicates));
localElementDictionary.Add(IncludeSpecialTermResultsXName, typeof(IncludeSpecialTermResults));
localElementDictionary.Add(PreQuerySuggestionsXName, typeof(PreQuerySuggestions));
localElementDictionary.Add(HighlightQuerySuggestionsXName, typeof(HighlightQuerySuggestions));
localElementDictionary.Add(CapitalizeFirstLettersXName, typeof(CapitalizeFirstLetters));
localElementDictionary.Add(ResultProviderXName, typeof(ResultProvider));
localElementDictionary.Add(ResubmitFlagsXName, typeof(ResubmitFlags));
localElementDictionary.Add(EnableSpellcheckXName, typeof(EnableSpellcheck));
localElementDictionary.Add(UserContextXName, typeof(UserContext));
localElementDictionary.Add(FindSimilarXName, typeof(FindSimilar));
localElementDictionary.Add(IncludeRefinementResultsXName, typeof(IncludeRefinementResults));
localElementDictionary.Add(RefinementFiltersXName, typeof(RefinementFilters));
localElementDictionary.Add(IgnoreAllNoiseQueryXName, typeof(IgnoreAllNoiseQuery));
localElementDictionary.Add(IncludeRelevantResultsXName, typeof(IncludeRelevantResults));
localElementDictionary.Add(IncludeHighConfidenceResultsXName, typeof(IncludeHighConfidenceResults));
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
Dictionary<System.Xml.Linq.XName, System.Type> IXMetaData.LocalElementsDictionary {
get {
return localElementDictionary;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private static ContentModelEntity contentModel;
ContentModelEntity IXMetaData.GetContentModel() {
return contentModel;
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
System.Xml.Linq.XName IXMetaData.SchemaName {
get {
return xName;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
SchemaOrigin IXMetaData.TypeOrigin {
get {
return SchemaOrigin.Fragment;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
ILinqToXsdTypeManager IXMetaData.TypeManager {
get {
return LinqToXsdTypeManager.Instance;
}
}
}
}
public partial class QueryId : XTypedElement, IXMetaData {
public void Save(string xmlFile) {
XTypedServices.Save(xmlFile, Untyped);
}
public void Save(System.IO.TextWriter tw) {
XTypedServices.Save(tw, Untyped);
}
public void Save(System.Xml.XmlWriter xmlWriter) {
XTypedServices.Save(xmlWriter, Untyped);
}
public static QueryId Load(string xmlFile) {
return XTypedServices.Load<QueryId>(xmlFile);
}
public static QueryId Load(System.IO.TextReader xmlFile) {
return XTypedServices.Load<QueryId>(xmlFile);
}
public static QueryId Parse(string xml) {
return XTypedServices.Parse<QueryId>(xml);
}
public static explicit operator QueryId(XElement xe) { return XTypedServices.ToXTypedElement<QueryId>(xe,LinqToXsdTypeManager.Instance as ILinqToXsdTypeManager); }
public override XTypedElement Clone() {
return XTypedServices.CloneXTypedElement<QueryId>(this);
}
public QueryId() {
}
private static readonly System.Xml.Linq.XName xName = System.Xml.Linq.XName.Get("QueryId", "urn:Microsoft.Search.Query");
ContentModelEntity IXMetaData.GetContentModel() {
return ContentModelEntity.Default;
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
System.Xml.Linq.XName IXMetaData.SchemaName {
get {
return xName;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
SchemaOrigin IXMetaData.TypeOrigin {
get {
return SchemaOrigin.Element;
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
ILinqToXsdTypeManager IXMetaData.TypeManager {
get {
return LinqToXsdTypeManager.Instance;
}
}
}
/// <summary>
/// <para>
/// Regular expression: (QueryText)
/// </para>
/// </summary>
public partial class Context : XTypedElement, IXMetaData {
public void Save(string xmlFile) {
XTypedServices.Save(xmlFile, Untyped);
}
public void Save(System.IO.TextWriter tw) {
XTypedServices.Save(tw, Untyped);
}
public void Save(System.Xml.XmlWriter xmlWriter) {
XTypedServices.Save(xmlWriter, Untyped);
}
public static Context Load(string xmlFile) {
return XTypedServices.Load<Context>(xmlFile);
}
public static Context Load(System.IO.TextReader xmlFile) {
return XTypedServices.Load<Context>(xmlFile);
}
public static Context Parse(string xml) {
return XTypedServices.Parse<Context>(xml);
}
public static explicit operator Context(XElement xe) { return XTypedServices.ToXTypedElement<Context>(xe,LinqToXsdTypeManager.Instance as ILinqToXsdTypeManager); }
public override XTypedElement Clone() {
return XTypedServices.CloneXTypedElement<Context>(this);
}
/// <summary>
/// <para>
/// Regular expression: (QueryText)
/// </para>
/// </summary>
public Context() {
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
protected internal static readonly System.Xml.Linq.XName QueryTextXName = System.Xml.Linq.XName.Get("QueryText", "urn:Microsoft.Search.Query");
/// <summary>
/// <para>
/// Occurrence: required
/// </para>
/// <para>
/// Regular expression: (QueryText)
/// </para>
/// </summary>