12 references to ErrorBuilder
System.ComponentModel.Composition (12)
System\ComponentModel\Composition\ExceptionBuilder.cs (1)
85
ErrorBuilder
.CreateCannotGetExportedValue(part, definition, innerException));
System\ComponentModel\Composition\Hosting\ImportEngine.cs (8)
299
return new CompositionResult(
ErrorBuilder
.CreatePartCycle(part));
380
return new CompositionResult(
ErrorBuilder
.CreatePartCycle(part));
387
return result.MergeError(
ErrorBuilder
.CreatePartCycle(part));
427
ErrorBuilder
.ComposeTookTooManyIterations(MaximumNumberOfCompositionIterations));
533
return new CompositionResult(
ErrorBuilder
.InvalidStateForRecompposition(partManager.Part));
572
return new CompositionResult(
ErrorBuilder
.PreventedByExistingImport(partManager.Part, import));
752
CompositionException exception = new CompositionException(
ErrorBuilder
.CreateImportCardinalityMismatch(ex, definition));
755
ErrorBuilder
.CreatePartCannotSetImport(part, definition, exception));
System\ComponentModel\Composition\Hosting\ImportEngine.PartManager.cs (3)
83
ErrorBuilder
.CreatePartCannotSetImport(Part, import, ex));
89
ErrorBuilder
.CreatePartCannotSetImport(Part, import, ex));
133
ErrorBuilder
.CreatePartCannotActivate(Part, ex));