-
Notifications
You must be signed in to change notification settings - Fork 0
/
System.ComponentModel.Composition.CodePlex.xml
5945 lines (5920 loc) · 379 KB
/
System.ComponentModel.Composition.CodePlex.xml
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
<?xml version="1.0"?>
<doc>
<assembly>
<name>System.ComponentModel.Composition.Codeplex</name>
</assembly>
<members>
<member name="T:System.ComponentModel.Composition.ICompositionService">
<summary>
Provides methods for composing <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> objects.
</summary>
</member>
<member name="M:System.ComponentModel.Composition.ICompositionService.SatisfyImportsOnce(System.ComponentModel.Composition.Primitives.ComposablePart)">
<summary>
Sets the imports of the specified composable part exactly once and they will not
ever be recomposed.
</summary>
<param name="part">
The <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> to set the imports.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="part"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ComponentModel.Composition.CompositionException">
An error occurred during composition. <see cref="P:System.ComponentModel.Composition.CompositionException.Errors"/> will
contain a collection of errors that occurred.
</exception>
<exception cref="T:System.ObjectDisposedException">
The <see cref="T:System.ComponentModel.Composition.ICompositionService"/> has been disposed of.
</exception>
</member>
<member name="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition">
<summary>
Represents a contract name and metadata-based import
required by a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> object.
</summary>
</member>
<member name="T:System.ComponentModel.Composition.Primitives.ImportDefinition">
<summary>
Represents an import required by a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> object.
</summary>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ImportDefinition.#ctor">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> class.
</summary>
<remarks>
<note type="inheritinfo">
Derived types calling this constructor must override the <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Constraint"/>
property, and optionally, the <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Cardinality"/>, <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsPrerequisite"/>
and <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsRecomposable"/>
properties.
</note>
</remarks>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ImportDefinition.#ctor(System.Linq.Expressions.Expression{System.Func{System.ComponentModel.Composition.Primitives.ExportDefinition,System.Boolean}},System.String,System.ComponentModel.Composition.Primitives.ImportCardinality,System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> class
with the specified constraint, cardinality, value indicating if the import
definition is recomposable and a value indicating if the import definition
is a prerequisite.
</summary>
<param name="constraint">
A <see cref="T:System.Linq.Expressions.Expression`1"/> containing a <see cref="T:System.Func`2"/>
that defines the conditions that must be matched for the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>
to be satisfied by an <see cref="T:System.ComponentModel.Composition.Primitives.Export"/>.
</param>
<param name="contractName">
The contract name of the export that this import is interested in. The contract name
property is used as guidance and not automatically enforced in the constraint. If
the contract name is a required in the constraint then it should be added to the constraint
by the caller of this constructor.
</param>
<param name="cardinality">
One of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/> values indicating the
cardinality of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> objects required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>.
</param>
<param name="isRecomposable">
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> can be satisfied
multiple times throughout the lifetime of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/>, otherwise,
<see langword="false"/>.
</param>
<param name="isPrerequisite">
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> is required to be
satisfied before a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> can start producing exported
objects; otherwise, <see langword="false"/>.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="constraint"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="cardinality"/> is not one of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/>
values.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ImportDefinition.IsConstraintSatisfiedBy(System.ComponentModel.Composition.Primitives.ExportDefinition)">
<summary>
Executes of the constraint provided by the <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Constraint"/> property
against a given <see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> to determine if this
<see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> can be satisfied by the given <see cref="T:System.ComponentModel.Composition.Primitives.Export"/>.
</summary>
<param name="exportDefinition">
A definition for a <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> used to determine if it satisfies the
requirements for this <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>.
</param>
<returns>
<see langword="True"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> satisfies the requirements for
this <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>, otherwise returns <see langword="False"/>.
</returns>
<remarks>
<note type="inheritinfo">
Overrides of this method can provide a more optimized execution of the
<see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Constraint"/> property but the result should remain consistent.
</note>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="exportDefinition"/> is <see langword="null"/>.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ImportDefinition.ToString">
<summary>
Returns a string representation of the import definition.
</summary>
<returns>
A <see cref="T:System.String"/> containing the value of the <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Constraint"/> property.
</returns>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ImportDefinition.ContractName">
<summary>
Gets the contract name of the export required by the import definition.
</summary>
<value>
A <see cref="T:System.String"/> containing the contract name of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/>
required by the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>. This property should
return <see cref="F:System.String.Empty"/> for imports that do not require a specific
contract name.
</value>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Metadata">
<summary>
Gets the metadata of the import definition.
</summary>
<value>
An <see cref="T:System.Collections.Generic.IDictionary`2"/> containing the metadata of the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/>. The default is an empty, read-only
<see cref="T:System.Collections.Generic.IDictionary`2"/>.
</value>
<remarks>
<para>
<note type="inheritinfo">
Overriders of this property should return a read-only
<see cref="T:System.Collections.Generic.IDictionary`2"/> object with a case-sensitive,
non-linguistic comparer, such as <see cref="P:System.StringComparer.Ordinal"/>,
and should never return <see langword="null"/>.
If the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> does not contain metadata
return an empty <see cref="T:System.Collections.Generic.IDictionary`2"/> instead.
</note>
</para>
</remarks>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Cardinality">
<summary>
Gets the cardinality of the exports required by the import definition.
</summary>
<value>
One of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/> values indicating the
cardinality of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> objects required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>. The default is
<see cref="F:System.ComponentModel.Composition.Primitives.ImportCardinality.ExactlyOne"/>
</value>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Constraint">
<summary>
Gets an expression that defines conditions that must be matched for the import
described by the import definition to be satisfied.
</summary>
<returns>
A <see cref="T:System.Linq.Expressions.Expression`1"/> containing a <see cref="T:System.Func`2"/>
that defines the conditions that must be matched for the
<see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> to be satisfied by an <see cref="T:System.ComponentModel.Composition.Primitives.Export"/>.
</returns>
<exception cref="T:System.NotImplementedException">
The property was not overridden by a derived class.
</exception>
<remarks>
<note type="inheritinfo">
Overriders of this property should never return <see langword="null"/>.
</note>
</remarks>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsPrerequisite">
<summary>
Gets a value indicating whether the import definition is required to be
satisfied before a part can start producing exported values.
</summary>
<value>
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> is required to be
satisfied before a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> can start producing exported
objects; otherwise, <see langword="false"/>. The default is <see langword="true"/>.
</value>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsRecomposable">
<summary>
Gets a value indicating whether the import definition can be satisfied multiple times.
</summary>
<value>
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> can be satisfied
multiple times throughout the lifetime of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/>, otherwise,
<see langword="false"/>. The default is <see langword="false"/>.
</value>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.#ctor">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> class.
</summary>
<remarks>
<note type="inheritinfo">
Derived types calling this constructor can optionally override the
<see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.ContractName"/>, <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredTypeIdentity"/>,
<see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredMetadata"/>, <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.Cardinality"/>,
<see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsPrerequisite"/>, <see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.IsRecomposable"/>
and <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredCreationPolicy"/> properties.
</note>
</remarks>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Type}},System.ComponentModel.Composition.Primitives.ImportCardinality,System.Boolean,System.Boolean,System.ComponentModel.Composition.CreationPolicy)">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> class
with the specified contract name, required metadataq, cardinality, value indicating
if the import definition is recomposable and a value indicating if the import definition
is a prerequisite.
</summary>
<param name="contractName">
A <see cref="T:System.String"/> containing the contract name of the
<see cref="T:System.ComponentModel.Composition.Primitives.Export"/> required by the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>.
</param>
<param name="requiredTypeIdentity">
The type identity of the export type expected. Use <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetTypeIdentity(System.Type)"/>
to generate a type identity for a given type. If no specific type is required pass <see langword="null"/>.
</param>
<param name="requiredMetadata">
An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:System.String"/> objects containing
the metadata names of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>; or <see langword="null"/> to
set the <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredMetadata"/> property to an empty <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
</param>
<param name="cardinality">
One of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/> values indicating the
cardinality of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> objects required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>.
</param>
<param name="isRecomposable">
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> can be satisfied
multiple times throughout the lifetime of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/>, otherwise,
<see langword="false"/>.
</param>
<param name="isPrerequisite">
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> is required to be
satisfied before a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> can start producing exported
objects; otherwise, <see langword="false"/>.
</param>
<param name="requiredCreationPolicy">
A value indicating that the importer requires a specific <see cref="T:System.ComponentModel.Composition.CreationPolicy"/> for
the exports used to satisfy this import. If no specific <see cref="T:System.ComponentModel.Composition.CreationPolicy"/> is needed
pass the default <see cref="F:System.ComponentModel.Composition.CreationPolicy.Any"/>.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="contractName"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="contractName"/> is an empty string ("").
<para>
-or-
</para>
<paramref name="requiredMetadata"/> contains an element that is <see langword="null"/>.
<para>
-or-
</para>
<paramref name="cardinality"/> is not one of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/>
values.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.#ctor(System.String,System.String,System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Type}},System.ComponentModel.Composition.Primitives.ImportCardinality,System.Boolean,System.Boolean,System.ComponentModel.Composition.CreationPolicy,System.Collections.Generic.IDictionary{System.String,System.Object})">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> class
with the specified contract name, required metadataq, cardinality, value indicating
if the import definition is recomposable and a value indicating if the import definition
is a prerequisite.
</summary>
<param name="contractName">
A <see cref="T:System.String"/> containing the contract name of the
<see cref="T:System.ComponentModel.Composition.Primitives.Export"/> required by the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>.
</param>
<param name="requiredTypeIdentity">
The type identity of the export type expected. Use <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetTypeIdentity(System.Type)"/>
to generate a type identity for a given type. If no specific type is required pass <see langword="null"/>.
</param>
<param name="requiredMetadata">
An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:System.String"/> objects containing
the metadata names of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>; or <see langword="null"/> to
set the <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredMetadata"/> property to an empty <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
</param>
<param name="cardinality">
One of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/> values indicating the
cardinality of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> objects required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>.
</param>
<param name="isRecomposable">
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> can be satisfied
multiple times throughout the lifetime of a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/>, otherwise,
<see langword="false"/>.
</param>
<param name="isPrerequisite">
<see langword="true"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/> is required to be
satisfied before a <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePart"/> can start producing exported
objects; otherwise, <see langword="false"/>.
</param>
<param name="requiredCreationPolicy">
A value indicating that the importer requires a specific <see cref="T:System.ComponentModel.Composition.CreationPolicy"/> for
the exports used to satisfy this import. If no specific <see cref="T:System.ComponentModel.Composition.CreationPolicy"/> is needed
pass the default <see cref="F:System.ComponentModel.Composition.CreationPolicy.Any"/>.
</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="contractName"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="contractName"/> is an empty string ("").
<para>
-or-
</para>
<paramref name="requiredMetadata"/> contains an element that is <see langword="null"/>.
<para>
-or-
</para>
<paramref name="cardinality"/> is not one of the <see cref="T:System.ComponentModel.Composition.Primitives.ImportCardinality"/>
values.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.IsConstraintSatisfiedBy(System.ComponentModel.Composition.Primitives.ExportDefinition)">
<summary>
Executes an optimized version of the contraint given by the <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.Constraint"/> property
</summary>
<param name="exportDefinition">
A definition for a <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> used to determine if it satisfies the
requirements for this <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>.
</param>
<returns>
<see langword="True"/> if the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> satisfies the requirements for
this <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/>, otherwise returns <see langword="False"/>.
</returns>
<remarks>
<note type="inheritinfo">
Overrides of this method can provide a more optimized execution of the
<see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.Constraint"/> property but the result should remain consistent.
</note>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="exportDefinition"/> is <see langword="null"/>.
</exception>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredTypeIdentity">
<summary>
The type identity of the export type expected.
</summary>
<value>
A <see cref="T:System.String"/> that is generated by <see cref="M:System.ComponentModel.Composition.AttributedModelServices.GetTypeIdentity(System.Type)"/>
on the type that this import expects. If the value is <see langword="null"/> then this import
doesn't expect a particular type.
</value>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredMetadata">
<summary>
Gets the metadata names of the export required by the import definition.
</summary>
<value>
An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of pairs of metadata keys and types of the <see cref="T:System.ComponentModel.Composition.Primitives.Export"/> required by the
<see cref="T:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition"/>. The default is an empty
<see cref="T:System.Collections.Generic.IEnumerable`1"/>.
</value>
<remarks>
<note type="inheritinfo">
Overriders of this property should never return <see langword="null"/>
or return an <see cref="T:System.Collections.Generic.IEnumerable`1"/> that contains an element that is
<see langword="null"/>. If the definition does not contain required metadata,
return an empty <see cref="T:System.Collections.Generic.IEnumerable`1"/> instead.
</note>
</remarks>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredCreationPolicy">
<summary>
Gets or sets a value indicating that the importer requires a specific
<see cref="T:System.ComponentModel.Composition.CreationPolicy"/> for the exports used to satisfy this import. T
</summary>
<value>
<see cref="F:System.ComponentModel.Composition.CreationPolicy.Any"/> - default value, used if the importer doesn't
require a specific <see cref="T:System.ComponentModel.Composition.CreationPolicy"/>.
<see cref="F:System.ComponentModel.Composition.CreationPolicy.Shared"/> - Requires that all exports used should be shared
by everyone in the container.
<see cref="F:System.ComponentModel.Composition.CreationPolicy.NonShared"/> - Requires that all exports used should be
non-shared in a container and thus everyone gets their own instance.
</value>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.Constraint">
<summary>
Gets an expression that defines conditions that must be matched for the import
described by the import definition to be satisfied.
</summary>
<returns>
A <see cref="T:System.Linq.Expressions.Expression`1"/> containing a <see cref="T:System.Func`2"/>
that defines the conditions that must be matched for the
<see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> to be satisfied by an <see cref="T:System.ComponentModel.Composition.Primitives.Export"/>.
</returns>
<remarks>
<para>
This property returns an expression that defines conditions based on the
<see cref="P:System.ComponentModel.Composition.Primitives.ImportDefinition.ContractName"/>, <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredTypeIdentity"/>,
<see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredMetadata"/>, and <see cref="P:System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition.RequiredCreationPolicy"/>
properties.
</para>
</remarks>
</member>
<member name="T:System.ComponentModel.Composition.Hosting.INotifyComposablePartCatalogChanged">
<summary>
Notifications when a ComposablePartCatalog changes.
</summary>
</member>
<member name="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog">
<summary>
Defines the <see langword="abstract"/> base class for composable part catalogs, which produce
and return <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/> objects.
</summary>
<remarks>
This type is thread safe.
</remarks>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ComposablePartCatalog.#ctor">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/> class.
</summary>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ComposablePartCatalog.GetExports(System.ComponentModel.Composition.Primitives.ImportDefinition)">
<summary>
Returns the export definitions that match the constraint defined by the specified definition.
</summary>
<param name="definition">
The <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> that defines the conditions of the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> objects to return.
</param>
<returns>
An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:System.Tuple`2"/> containing the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> objects and their associated
<see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/> for objects that match the constraint defined
by <paramref name="definition"/>.
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="definition"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ObjectDisposedException">
The <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/> has been disposed of.
</exception>
<remarks>
<note type="inheritinfo">
Overriders of this property should never return <see langword="null"/>, if no
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> match the conditions defined by
<paramref name="definition"/>, return an empty <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
</note>
</remarks>
</member>
<member name="M:System.ComponentModel.Composition.Primitives.ComposablePartCatalog.Dispose">
<summary>
Releases the unmanaged resources used by the <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/> and
optionally releases the managed resources.
</summary>
<param name="disposing">
<see langword="true"/> to release both managed and unmanaged resources;
<see langword="false"/> to release only unmanaged resources.
</param>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ComposablePartCatalog.Parts">
<summary>
Gets the part definitions of the catalog.
</summary>
<value>
A <see cref="T:System.Linq.IQueryable`1"/> of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/> objects of the
<see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/>.
</value>
<exception cref="T:System.ObjectDisposedException">
The <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/> has been disposed of.
</exception>
<remarks>
<note type="inheritinfo">
Overriders of this property should never return <see langword="null"/>.
</note>
</remarks>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.IncludeDependencies">
<summary>
Creates a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.FilteredCatalog"/> that conatains all the parts from the orignal filtered catalog and all their dependecies.
</summary>
<returns></returns>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.IncludeDependencies(System.Func{System.ComponentModel.Composition.Primitives.ImportDefinition,System.Boolean})">
<summary>
Creates a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.FilteredCatalog"/> that conatains all the parts from the orignal filtered catalog and all their dependencies that
can be reached via imports that match the specified filter.
</summary>
<param name="importFilter">The import filter.</param>
<returns></returns>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.IncludeDependents">
<summary>
Creates a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.FilteredCatalog"/> that conatains all the parts from the orignal filtered catalog and all their dependents.
</summary>
<returns></returns>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.IncludeDependents(System.Func{System.ComponentModel.Composition.Primitives.ImportDefinition,System.Boolean})">
<summary>
Creates a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.FilteredCatalog"/> that conatains all the parts from the orignal filtered catalog and all their dependents that
can be reached via imports that match the specified filter.
</summary>
<param name="importFilter">The import filter.</param>
<returns></returns>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.#ctor(System.ComponentModel.Composition.Primitives.ComposablePartCatalog,System.Func{System.ComponentModel.Composition.Primitives.ComposablePartDefinition,System.Boolean})">
<summary>
Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.Hosting.FilteredCatalog"/> class.
</summary>
<param name="catalog">The catalog.</param>
<param name="filter">The filter.</param>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.Dispose(System.Boolean)">
<summary>
Releases unmanaged and - optionally - managed resources
</summary>
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.GetExports(System.ComponentModel.Composition.Primitives.ImportDefinition)">
<summary>
Returns the export definitions that match the constraint defined by the specified definition.
</summary>
<param name="definition">The <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> that defines the conditions of the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> objects to return.</param>
<returns>
An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:System.Tuple`2"/> containing the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> objects and their associated
<see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/> for objects that match the constraint defined
by <paramref name="definition"/>.
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="definition"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ObjectDisposedException">
The <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/> has been disposed of.
</exception>
<remarks>
<note type="inheritinfo">
Overriders of this property should never return <see langword="null"/>, if no
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> match the conditions defined by
<paramref name="definition"/>, return an empty <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
</note>
</remarks>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.OnChanged(System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs)">
<summary>
Raises the <see cref="E:Changed"/> event.
</summary>
<param name="e">The <see cref="T:System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs"/> instance containing the event data.</param>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.FilteredCatalog.OnChanging(System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs)">
<summary>
Raises the <see cref="E:Changing"/> event.
</summary>
<param name="e">The <see cref="T:System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs"/> instance containing the event data.</param>
</member>
<member name="P:System.ComponentModel.Composition.Hosting.FilteredCatalog.Parts">
<summary>
Gets the part definitions of the catalog.
</summary>
<value>
A <see cref="T:System.Linq.IQueryable`1"/> of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/> objects of the
<see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/>.
</value>
<exception cref="T:System.ObjectDisposedException">
The <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartCatalog"/> has been disposed of.
</exception>
<remarks>
<note type="inheritinfo">
Overriders of this property should never return <see langword="null"/>.
</note>
</remarks>
</member>
<member name="P:System.ComponentModel.Composition.Hosting.FilteredCatalog.Complement">
<summary>
Gets the complement.
</summary>
<value>The complement.</value>
</member>
<member name="E:System.ComponentModel.Composition.Hosting.FilteredCatalog.Changed">
<summary>
Notify when the contents of the Catalog has changed.
</summary>
</member>
<member name="E:System.ComponentModel.Composition.Hosting.FilteredCatalog.Changing">
<summary>
Notify when the contents of the Catalog is changing.
</summary>
</member>
<member name="T:System.ComponentModel.Composition.Hosting.FilteredCatalog.IComposablePartCatalogTraversal">
<summary>
This is designed to traverse a set of parts based on whatever pattern. There are no real expectations
as to what the pattern is and what properties is posseses
NOTE : we both with this interface - as opposed to just a simple delegate - due to minute performance reasons,
as this will be invoked very often. Also, each traversal is typically associated with a big state bag, which is
easier to associte with an explicit implementation as opposed to an implicit closure.
</summary>
</member>
<member name="T:System.ComponentModel.Composition.Hosting.FilteredCatalog.DependentsTraversal">
<summary>
Implementation of IComposablePartTraversal supporting the Dependents traveral pattern.
The implementation is optimized for a situation when the traversal is expected to be rather short-lived - that is,
if the chains of dependecies are rather small. To achieve that we do a very minimal structure prep upfront - merely creating a contract-based
index of imports - and the verify the full match of imports during the traversal. Given that most parts have a very few imports this should perform well.
</summary>
</member>
<member name="T:System.ComponentModel.Composition.Primitives.ICompositionElement">
<summary>
Represents an element that participates in composition.
</summary>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ICompositionElement.DisplayName">
<summary>
Gets the display name of the composition element.
</summary>
<value>
A <see cref="T:System.String"/> containing a human-readable display name of the <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/>.
</value>
<remarks>
<note type="implementnotes">
Implementors of this property should never return <see langword="null"/> or an empty
string ("").
</note>
</remarks>
</member>
<member name="P:System.ComponentModel.Composition.Primitives.ICompositionElement.Origin">
<summary>
Gets the composition element from which the current composition element
originated.
</summary>
<value>
A <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> from which the current
<see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> originated, or <see langword="null"/>
if the <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> is the root composition element.
</value>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the *.dll files
in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.Reflection.ReflectionContext)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the *.dll files
in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="reflectionContext">
The <see cref="T:System.Reflection.ReflectionContext"/> a context used by the catalog when
interpreting the types to inject attributes into the type definition.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/> or
<paramref name="reflectionContext"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.ComponentModel.Composition.Primitives.ICompositionElement)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the *.dll files
in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="definitionOrigin">
The <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> CompositionElement used by Diagnostics to identify the source for parts.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/> or
<paramref name="definitionOrigin"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.Reflection.ReflectionContext,System.ComponentModel.Composition.Primitives.ICompositionElement)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the given searchPattern
over the files in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="reflectionContext">
The <see cref="T:System.Reflection.ReflectionContext"/> a context used by the catalog when
interpreting the types to inject attributes into the type definition.
</param>
<param name="definitionOrigin">
The <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> CompositionElement used by Diagnostics to identify the source for parts.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space
does not contain a valid pattern.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/> or
<paramref name="reflectionContext"/> is <see langword="null"/> or
<paramref name="definitionOrigin"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.String)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the *.dll files
in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="searchPattern">
Any valid searchPattern that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> will accept.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters. Or <paramref name="searchPattern"/>
does not contain a valid pattern.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.String,System.ComponentModel.Composition.Primitives.ICompositionElement)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the *.dll files
in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="definitionOrigin">
The <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> CompositionElement used by Diagnostics to identify the source for parts.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters. Or <paramref name="searchPattern"/>
does not contain a valid pattern.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/>.
<paramref name="definitionOrigin"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.String,System.Reflection.ReflectionContext)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the given searchPattern
over the files in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="searchPattern">
Any valid searchPattern that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> will accept.
</param>
<param name="reflectionContext">
The <see cref="T:System.Reflection.ReflectionContext"/> a context used by the catalog when
interpreting the types to inject attributes into the type definition.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters. Or <paramref name="searchPattern"/>
does not contain a valid pattern.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/>
or <paramref name="searchPattern"/> is <see langword="null"/>.
or <paramref name="reflectionContext"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.#ctor(System.String,System.String,System.Reflection.ReflectionContext,System.ComponentModel.Composition.Primitives.ICompositionElement)">
<summary>
Creates a catalog of <see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/>s based on all the given searchPattern
over the files in the given directory path.
Possible exceptions that can be thrown are any that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> or
<see cref="M:System.Reflection.Assembly.Load(System.Reflection.AssemblyName)"/> can throw.
</summary>
<param name="path">
Path to the directory to scan for assemblies to add to the catalog.
The path needs to be absolute or relative to <see cref="P:System.AppDomain.BaseDirectory"/>
</param>
<param name="searchPattern">
Any valid searchPattern that <see cref="M:System.IO.Directory.GetFiles(System.String,System.String)"/> will accept.
</param>
<param name="reflectionContext">
The <see cref="T:System.Reflection.ReflectionContext"/> a context used by the catalog when
interpreting the types to inject attributes into the type definition.
</param>
<param name="definitionOrigin">
The <see cref="T:System.ComponentModel.Composition.Primitives.ICompositionElement"/> CompositionElement used by Diagnostics to identify the source for parts.
</param>
<exception cref="T:System.ArgumentException">
If <paramref name="path"/> is a zero-length string, contains only white space, or
contains one or more implementation-specific invalid characters. Or <paramref name="searchPattern"/>
does not contain a valid pattern.
</exception>
<exception cref="T:System.ArgumentNullException">
<paramref name="path"/> is <see langword="null"/>
or <paramref name="searchPattern"/> is <see langword="null"/>.
or <paramref name="reflectionContext"/> is <see langword="null"/>.
or <paramref name="definitionOrigin"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.IO.DirectoryNotFoundException">
The specified <paramref name="path"/> is invalid (for example, it is on an unmapped drive).
</exception>
<exception cref="T:System.IO.PathTooLongException">
The specified <paramref name="path"/>, file name, or both exceed the system-defined maximum length.
For example, on Windows-based platforms, paths must be less than 248 characters and file names must
be less than 260 characters.
</exception>
<exception cref="T:System.UnauthorizedAccessException">
The caller does not have the required permission.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.Dispose(System.Boolean)">
<summary>
Releases unmanaged and - optionally - managed resources
</summary>
<param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.GetExports(System.ComponentModel.Composition.Primitives.ImportDefinition)">
<summary>
Returns the export definitions that match the constraint defined by the specified definition.
</summary>
<param name="definition">
The <see cref="T:System.ComponentModel.Composition.Primitives.ImportDefinition"/> that defines the conditions of the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> objects to return.
</param>
<returns>
An <see cref="T:System.Collections.Generic.IEnumerable`1"/> of <see cref="T:System.Tuple`2"/> containing the
<see cref="T:System.ComponentModel.Composition.Primitives.ExportDefinition"/> objects and their associated
<see cref="T:System.ComponentModel.Composition.Primitives.ComposablePartDefinition"/> for objects that match the constraint defined
by <paramref name="definition"/>.
</returns>
<exception cref="T:System.ArgumentNullException">
<paramref name="definition"/> is <see langword="null"/>.
</exception>
<exception cref="T:System.ObjectDisposedException">
The <see cref="T:System.ComponentModel.Composition.Hosting.DirectoryCatalog"/> has been disposed of.
</exception>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.OnChanged(System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs)">
<summary>
Raises the <see cref="E:System.ComponentModel.Composition.Hosting.INotifyComposablePartCatalogChanged.Changed"/> event.
</summary>
<param name="e">
An <see cref="T:System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs"/> containing the data for the event.
</param>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.OnChanging(System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs)">
<summary>
Raises the <see cref="E:System.ComponentModel.Composition.Hosting.INotifyComposablePartCatalogChanged.Changing"/> event.
</summary>
<param name="e">
An <see cref="T:System.ComponentModel.Composition.Hosting.ComposablePartCatalogChangeEventArgs"/> containing the data for the event.
</param>
</member>
<member name="M:System.ComponentModel.Composition.Hosting.DirectoryCatalog.Refresh">