Constructor EditorFormDesignerDataSource
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
EditorFormDesignerDataSource(IFormDesignerTextSource, IFormDesignerTextSource, string, string, string, Language)
Initializes a new instance of the EditorFormDesignerDataSource class with specified settings.
public EditorFormDesignerDataSource(IFormDesignerTextSource userCodeTextSource, IFormDesignerTextSource xamlTextSource, string userCodeFileName, string xamlFileName, string designedClassName, Language userCodeLanguage)
Parameters
userCodeTextSourceIFormDesignerTextSourceIFormDesignerTextSource corresponding to the user code.
xamlTextSourceIFormDesignerTextSourceIFormDesignerTextSource corresponding to the XAML code.
userCodeFileNamestringName of the file with user code.
xamlFileNamestringName of the file with XAML code.
designedClassNamestringThe fully qualified name of designed class.
userCodeLanguageLanguageThe language in which the user code is written.
EditorFormDesignerDataSource(string, Language, Func<string, IFormDesignerTextSource>)
Initializes a new instance of the EditorFormDesignerDataSource class with specified settings.
public EditorFormDesignerDataSource(string xamlFileName, Language userCodeLanguage, Func<string, IFormDesignerTextSource> openTextSourceFunc)
Parameters
xamlFileNamestringName of the file with XAML code.
userCodeLanguageLanguageThe language in which the user code is written.
openTextSourceFuncFunc<string, IFormDesignerTextSource>Function responsible to open text source.