Share via


ICodeInjectionService Interface

Creates a method in the code behind for a user's XAML file and enables appending statements to the method.

Namespace:  Microsoft.Windows.Design.Services
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Interface ICodeInjectionService
public interface ICodeInjectionService
public interface class ICodeInjectionService
type ICodeInjectionService =  interface end
public interface ICodeInjectionService

The ICodeInjectionService type exposes the following members.

Methods

  Name Description
Public method AppendStatements Appends a collection of CodeDOM statements to the specified event handler.
Public method CreateMethod Creates a method with the specified signature.

Top

See Also

Reference

Microsoft.Windows.Design.Services Namespace