Method CreateParser
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v10.dll
CreateParser(IServiceProvider, DesignerReferencedAssemblies, IEnumerable<DesignerAssemblyResources>, DesignerImportedNamespaces, IDesignedComponentAssemblyProvider)
Creates an object used to provide syntax analysis for the form designer code and generates a parsed representation.
public virtual Parser CreateParser(IServiceProvider serviceProvider, DesignerReferencedAssemblies referencedAssemblies, IEnumerable<DesignerAssemblyResources> assemblyResources, DesignerImportedNamespaces importedNamespaces, IDesignedComponentAssemblyProvider designedComponentAssembly)
Parameters
serviceProviderIServiceProviderIServiceProvider provides a custom support for the parser being created.
referencedAssembliesDesignerReferencedAssembliesCollection of assemblies where the controls and components used on the form being designed are declared.
assemblyResourcesIEnumerable<DesignerAssemblyResources>List of form assembly resources.
importedNamespacesDesignerImportedNamespacesCollection of globally available namespaces.
designedComponentAssemblyIDesignedComponentAssemblyProviderIDesignedComponentAssemblyProviderused to retrieve data from specified assembly.
Returns
- Parser
Parserobject.