Table of Contents

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 IServiceContainer

System.ComponentModel.Design.IServiceContainer associated with this new instance.

referencedAssemblies DesignerReferencedAssemblies

Collection of assemblies that can be referenced in the form designer's content.

importedNamespaces DesignerImportedNamespaces

Collection of namespaces for the designer control.

assemblyResources IEnumerable<DesignerAssemblyResources>

Collection of assembly resources for the designer control.

openUserCodeStreamFunc OpenStreamForReadingDelegate

Method that will handle opening user-defined code.

openDesignerCodeStreamFunc OpenStreamDelegate

Method that will handle opening form designer-generated code.

reloadFunc Action

Action used to force reload designer content.

userCodeFileName string

Name of file contains user-defined code.

designerCodeFileName string

Name of file contains designer-generated code.

designedComponentAssembly IDesignedComponentAssemblyProvider

IDesignedComponentAssemblyProvider used to retrieve data from specified assembly.