Constructor EditorFormDesignerDataSource
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v9.dll
EditorFormDesignerDataSource(string, Func<string, IFormDesignerTextSource>, IEnumerable<DesignerAssemblyResources>, string)
Initializes a new instance of the EditorFormDesignerDataSource
class with specified settings.
public EditorFormDesignerDataSource(string userCodeFileName, Func<string, IFormDesignerTextSource> openTextSourceFunc, IEnumerable<DesignerAssemblyResources> assemblyResources = null, string designerFileNameSuffix = ".Designer")
Parameters
userCodeFileName
stringName of the file with user code.
openTextSourceFunc
Func<string, IFormDesignerTextSource>Function responsible to open text source.
assemblyResources
IEnumerable<DesignerAssemblyResources>The list of assembly resources.
designerFileNameSuffix
stringThe suffix of a file containing form designer code.