Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​ComponentModel.​Design.​Serialization.​IDesignerLoaderService
Assembly: System.ComponentModel.TypeConverter
Provides an interface that can extend a designer loader to support asynchronous loading of external components.
Methods
void
AddLoadDependency​()
Registers an external component as part of the load process managed by this interface.
void
DependentLoadComplete​(bool successful,
Collections.​ICollection errorCollection)
Signals that a dependent load has finished.
successful
<see langword="true" /> if the load of the designer is successful; <see langword="false" /> if errors prevented the load from finishing.
errorCollection
A collection of errors that occurred during the load, if any. If no errors occurred, pass either an empty collection or <see langword="null" /> .
bool
Reload​()
Reloads the design document.
Returns <see langword="true" /> if the reload request is accepted, or <see langword="false" /> if the loader does not allow the reload.