Constructor FormDesignerLoader
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v9.dll
FormDesignerLoader(IServiceContainer, DesignerReferencedAssemblies, DesignerImportedNamespaces, IEnumerable<DesignerAssemblyResources>, OpenStreamForReadingDelegate, OpenStreamDelegate, Action, string, string, IDesignedComponentAssemblyProvider)
Initializes a new instance of the FormDesignerLoader
class with specified settings.
public FormDesignerLoader(IServiceContainer serviceContainer, DesignerReferencedAssemblies referencedAssemblies, DesignerImportedNamespaces importedNamespaces, IEnumerable<DesignerAssemblyResources> assemblyResources, OpenStreamForReadingDelegate openUserCodeStreamFunc, OpenStreamDelegate openDesignerCodeStreamFunc, Action reloadFunc, string userCodeFileName, string designerCodeFileName, IDesignedComponentAssemblyProvider designedComponentAssembly)
Parameters
serviceContainer
IServiceContainerSystem.ComponentModel.Design.IServiceContainer
associated with this new instance.referencedAssemblies
DesignerReferencedAssembliesCollection of assemblies that can be referenced in the form designer's content.
importedNamespaces
DesignerImportedNamespacesCollection of namespaces for the designer control.
assemblyResources
IEnumerable<DesignerAssemblyResources>Collection of assembly resources for the designer control.
openUserCodeStreamFunc
OpenStreamForReadingDelegateMethod that will handle opening user-defined code.
openDesignerCodeStreamFunc
OpenStreamDelegateMethod that will handle opening form designer-generated code.
reloadFunc
ActionAction used to force reload designer content.
userCodeFileName
stringName of file contains user-defined code.
designerCodeFileName
stringName of file contains designer-generated code.
designedComponentAssembly
IDesignedComponentAssemblyProviderIDesignedComponentAssemblyProvider
used to retrieve data from specified assembly.