Table of Contents

Class FormFilesUtility

Namespace
Alternet.FormDesigner.WinForms
Assembly
Alternet.FormDesigner.v10.dll

A utility class to support form designer files functionality.

public static class FormFilesUtility
Inheritance
FormFilesUtility

Fields

DefaultDesignerFileNameSuffix

Represents a default suffix for the Designer file.

Methods

CheckIfFormFilesExist(string, string)

Determines whether all form files, matching specific criteria, exist.

CreateFormFiles(FormDesignerDataSource, CreateFormFilesOptions, IServiceProvider)

Generates a code for the form files, related to the specified source, and saves their content to the file.

DetectLanguageFromFileName(string)

Determines a Language to which the given file belongs. Reports an error for unsupported language.

FindUserCodeFile(string)

Find user code file, related to the given XAML file. Reports an error for unsupported language.

GetDesignedClassName(Language, string)
GetDesignerSourceParameters(string, string, string, out string, out string, out string, string)
GetResourceFileName(string, CultureInfo)

Determines the culture specific name of the resource file.

IsSupportedLanguage(string)

Indicates whether the specified programming language is supported.

IsXamlCodeBehindFile(string, out string)

Indicates whether the XAML file, dependent on the given file exists.

IsXamlFile(string, out string)
TryDetectFormSourceFiles(string, Language, out string)

Detects all form source files, related to the specific code file.

TryDetectFormSourceFiles(string, out string, out string, string)

Detects all form source files, related to the specific code file.

TryDetectLanguageFromFileName(string)

Determines a Language to which the given file belongs.

TryFindFormAssemblyResources(string, string)

Detects all resources belonging to the assembly, containing the given file.

TryFindUserCodeFile(string)

Tries to find user code file, related to the given XAML file.