Table of Contents

Class CSharpLanguageService

Namespace
Alternet.FormDesigner.Wpf.Roslyn
Assembly
Alternet.FormDesigner.Roslyn.Wpf.v10.dll

Represents a class for support C# code manipulation, used in the Alternet.FormDesigner control.

public class CSharpLanguageService : LanguageService
Inheritance
CSharpLanguageService

Constructors

CSharpLanguageService(Language)

Initializes a new instance of the CSharpLanguageService class with specified language.

Methods

CreateCodeProvider()

Creates an object that provides access to instances of code generator and code compiler.

CreateEventHanderService(FormDesignerControl)

Creates an additional service for registering event handlers for component events.

GetDesignedClassName(string)

Determines the name of the form designer class.

Init()

Initializes this service and registers it in the service collection.

StripHeaderComment(string)

Removes the leading header comment.