Method CreateParser
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v10.dll
CreateParser(Language, 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 static Parser CreateParser(Language language, IServiceProvider serviceProvider, DesignerReferencedAssemblies referencedAssemblies, IEnumerable<DesignerAssemblyResources> assemblyResources, DesignerImportedNamespaces importedNamespaces, IDesignedComponentAssemblyProvider designedComponentAssembly)
Parameters
languageLanguageThe language will be processed.
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.