C# Class XSharp.Project.WPF.XSharpEventBindingProvider

Inheritance: EventBindingProvider
Afficher le fichier Open project: X-Sharp/XSharpPublic

Private Properties

Свойство Type Description
GetCodeDomForXSharpFile System.CodeDom.CodeTypeDeclaration
GetDocDataAdapterForXSharpFile CodeDomDocDataAdapter
GetHandlersFromActiveFile List
RetrieveFullTypeName string
XSharpEventBindingProvider System

Méthodes publiques

Méthode Description
AddEventHandler ( EventDescription eventDescription, string objectName, string methodName ) : bool
AllowClassNameForMethodName ( ) : bool
AppendStatements ( EventDescription eventDescription, string methodName, string statements, int relativePosition ) : void
CreateMethod ( EventDescription eventDescription, string methodName, string initialStatements ) : bool
CreateUniqueMethodName ( string objectName, EventDescription eventDescription ) : string
GetCompatibleMethods ( EventDescription eventDescription ) : IEnumerable
GetMethodHandlers ( EventDescription eventDescription, string objectName ) : IEnumerable
IsExistingMethodName ( EventDescription eventDescription, string methodName ) : bool
RemoveEventHandler ( EventDescription eventDescription, string objectName, string methodName ) : bool
RemoveHandlesForName ( string elementName ) : bool
RemoveMethod ( EventDescription eventDescription, string methodName ) : bool
SetClassName ( string className ) : void
ShowMethod ( EventDescription eventDescription, string methodName ) : bool
ValidateMethodName ( EventDescription eventDescription, string methodName ) : void

Private Methods

Méthode Description
GetCodeDomForXSharpFile ( ) : CodeTypeDeclaration

This method will get the CodeTypeDeclaration corresponding to the active XAML file in the designer.

GetDocDataAdapterForXSharpFile ( ) : CodeDomDocDataAdapter

This method will get the CodeDomDocDataAdapter corresponding to the active XAML file in the designer.

GetHandlersFromActiveFile ( string methodName ) : List
RetrieveFullTypeName ( string typeName ) : string
XSharpEventBindingProvider ( FileNode xsFile ) : System

Method Details

AddEventHandler() public méthode

public AddEventHandler ( EventDescription eventDescription, string objectName, string methodName ) : bool
eventDescription EventDescription
objectName string
methodName string
Résultat bool

AllowClassNameForMethodName() public méthode

public AllowClassNameForMethodName ( ) : bool
Résultat bool

AppendStatements() public méthode

public AppendStatements ( EventDescription eventDescription, string methodName, string statements, int relativePosition ) : void
eventDescription EventDescription
methodName string
statements string
relativePosition int
Résultat void

CreateMethod() public méthode

public CreateMethod ( EventDescription eventDescription, string methodName, string initialStatements ) : bool
eventDescription EventDescription
methodName string
initialStatements string
Résultat bool

CreateUniqueMethodName() public méthode

public CreateUniqueMethodName ( string objectName, EventDescription eventDescription ) : string
objectName string
eventDescription EventDescription
Résultat string

GetCompatibleMethods() public méthode

public GetCompatibleMethods ( EventDescription eventDescription ) : IEnumerable
eventDescription EventDescription
Résultat IEnumerable

GetMethodHandlers() public méthode

public GetMethodHandlers ( EventDescription eventDescription, string objectName ) : IEnumerable
eventDescription EventDescription
objectName string
Résultat IEnumerable

IsExistingMethodName() public méthode

public IsExistingMethodName ( EventDescription eventDescription, string methodName ) : bool
eventDescription EventDescription
methodName string
Résultat bool

RemoveEventHandler() public méthode

public RemoveEventHandler ( EventDescription eventDescription, string objectName, string methodName ) : bool
eventDescription EventDescription
objectName string
methodName string
Résultat bool

RemoveHandlesForName() public méthode

public RemoveHandlesForName ( string elementName ) : bool
elementName string
Résultat bool

RemoveMethod() public méthode

public RemoveMethod ( EventDescription eventDescription, string methodName ) : bool
eventDescription EventDescription
methodName string
Résultat bool

SetClassName() public méthode

public SetClassName ( string className ) : void
className string
Résultat void

ShowMethod() public méthode

public ShowMethod ( EventDescription eventDescription, string methodName ) : bool
eventDescription EventDescription
methodName string
Résultat bool

ValidateMethodName() public méthode

public ValidateMethodName ( EventDescription eventDescription, string methodName ) : void
eventDescription EventDescription
methodName string
Résultat void