C# 클래스 XSharp.Project.WPF.XSharpEventBindingProvider

상속: EventBindingProvider
파일 보기 프로젝트 열기: X-Sharp/XSharpPublic

Private Properties

프로퍼티 타입 설명
GetCodeDomForXSharpFile System.CodeDom.CodeTypeDeclaration
GetDocDataAdapterForXSharpFile CodeDomDocDataAdapter
GetHandlersFromActiveFile List
RetrieveFullTypeName string
XSharpEventBindingProvider System

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddEventHandler() 공개 메소드

public AddEventHandler ( EventDescription eventDescription, string objectName, string methodName ) : bool
eventDescription EventDescription
objectName string
methodName string
리턴 bool

AllowClassNameForMethodName() 공개 메소드

public AllowClassNameForMethodName ( ) : bool
리턴 bool

AppendStatements() 공개 메소드

public AppendStatements ( EventDescription eventDescription, string methodName, string statements, int relativePosition ) : void
eventDescription EventDescription
methodName string
statements string
relativePosition int
리턴 void

CreateMethod() 공개 메소드

public CreateMethod ( EventDescription eventDescription, string methodName, string initialStatements ) : bool
eventDescription EventDescription
methodName string
initialStatements string
리턴 bool

CreateUniqueMethodName() 공개 메소드

public CreateUniqueMethodName ( string objectName, EventDescription eventDescription ) : string
objectName string
eventDescription EventDescription
리턴 string

GetCompatibleMethods() 공개 메소드

public GetCompatibleMethods ( EventDescription eventDescription ) : IEnumerable
eventDescription EventDescription
리턴 IEnumerable

GetMethodHandlers() 공개 메소드

public GetMethodHandlers ( EventDescription eventDescription, string objectName ) : IEnumerable
eventDescription EventDescription
objectName string
리턴 IEnumerable

IsExistingMethodName() 공개 메소드

public IsExistingMethodName ( EventDescription eventDescription, string methodName ) : bool
eventDescription EventDescription
methodName string
리턴 bool

RemoveEventHandler() 공개 메소드

public RemoveEventHandler ( EventDescription eventDescription, string objectName, string methodName ) : bool
eventDescription EventDescription
objectName string
methodName string
리턴 bool

RemoveHandlesForName() 공개 메소드

public RemoveHandlesForName ( string elementName ) : bool
elementName string
리턴 bool

RemoveMethod() 공개 메소드

public RemoveMethod ( EventDescription eventDescription, string methodName ) : bool
eventDescription EventDescription
methodName string
리턴 bool

SetClassName() 공개 메소드

public SetClassName ( string className ) : void
className string
리턴 void

ShowMethod() 공개 메소드

public ShowMethod ( EventDescription eventDescription, string methodName ) : bool
eventDescription EventDescription
methodName string
리턴 bool

ValidateMethodName() 공개 메소드

public ValidateMethodName ( EventDescription eventDescription, string methodName ) : void
eventDescription EventDescription
methodName string
리턴 void