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