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
userCodeTextSource
IFormDesignerTextSourceIFormDesignerTextSource corresponding to the user code.
xamlTextSource
IFormDesignerTextSourceIFormDesignerTextSource corresponding to the XAML code.
userCodeFileName
stringName of the file with user code.
xamlFileName
stringName of the file with XAML code.
designedClassName
stringThe fully qualified name of designed class.
userCodeLanguage
LanguageThe 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
xamlFileName
stringName of the file with XAML code.
userCodeLanguage
LanguageThe language in which the user code is written.
openTextSourceFunc
Func<string, IFormDesignerTextSource>Function responsible to open text source.