32 references to ImportState
System.ComponentModel.Composition (32)
System\ComponentModel\Composition\Hosting\ImportEngine.cs (29)
164
if (partManager.State ==
ImportState
.Composed)
201
if (partManager.State ==
ImportState
.Composed)
295
if (partManager.State ==
ImportState
.ImportsPreviewing)
303
if (partManager.State ==
ImportState
.NoImportsSatisfied)
305
partManager.State =
ImportState
.ImportsPreviewing;
310
atomicComposition.AddRevertActionAllowNull(() => partManager.State =
ImportState
.NoImportsSatisfied);
317
partManager.State =
ImportState
.NoImportsSatisfied;
321
partManager.State =
ImportState
.ImportsPreviewed;
331
while (partManager.State <
ImportState
.Composed)
333
var
previousState = partManager.State;
339
case
ImportState
.NoImportsSatisfied:
340
case
ImportState
.ImportsPreviewed:
342
partManager.State =
ImportState
.PreExportImportsSatisfying;
348
partManager.State =
ImportState
.PreExportImportsSatisfied;
351
case
ImportState
.PreExportImportsSatisfied:
353
partManager.State =
ImportState
.PostExportImportsSatisfying;
360
partManager.State =
ImportState
.PostExportImportsSatisfied;
363
case
ImportState
.PostExportImportsSatisfied:
365
partManager.State =
ImportState
.ComposedNotifying;
370
partManager.State =
ImportState
.Composed;
376
case
ImportState
.ImportsPreviewing:
382
case
ImportState
.PreExportImportsSatisfying:
383
case
ImportState
.PostExportImportsSatisfying:
392
case
ImportState
.ComposedNotifying:
417
if (partManager.State ==
ImportState
.Composed)
525
case
ImportState
.ImportsPreviewed:
526
case
ImportState
.Composed:
538
bool partComposed = (partManager.State ==
ImportState
.Composed);
708
if (testPart.State ==
ImportState
.PreExportImportsSatisfying)
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (3)
24
private
ImportState
_state =
ImportState
.NoImportsSatisfied;
41
public
ImportState
State