C# 클래스 Illusion.Parser

Parses text into a fully functional set of TriggerBase instances with ActionMessage.
파일 보기 프로젝트 열기: kasicass/kasicass

공개 프로퍼티들

프로퍼티 타입 설명
CreateParameter Func
CreateTrigger Func
InterpretMessageText Func

공개 메소드들

메소드 설명
BindParameter ( FrameworkElement target, Parameter parameter, string elementName, string path, BindingMode bindingMode ) : void

Creates a binding on a Parameter.

CreateMessage ( DependencyObject target, string messageText ) : System.Windows.Interactivity.TriggerAction

Creates an instance of ActionMessage by parsing out the textual dsl.

Parse ( DependencyObject target, string text ) : IEnumerable

Parses the specified message text.

비공개 메소드들

메소드 설명
Split ( string message, char separator ) : string[]
SplitParameters ( string parameters ) : string[]

메소드 상세

BindParameter() 공개 정적인 메소드

Creates a binding on a Parameter.
public static BindParameter ( FrameworkElement target, Parameter parameter, string elementName, string path, BindingMode bindingMode ) : void
target System.Windows.FrameworkElement The target to which the message is applied.
parameter Parameter The parameter object.
elementName string The name of the element to bind to.
path string The path of the element to bind to.
bindingMode BindingMode The binding mode to use.
리턴 void

CreateMessage() 공개 정적인 메소드

Creates an instance of ActionMessage by parsing out the textual dsl.
public static CreateMessage ( DependencyObject target, string messageText ) : System.Windows.Interactivity.TriggerAction
target System.Windows.DependencyObject The target of the message.
messageText string The textual message dsl.
리턴 System.Windows.Interactivity.TriggerAction

Parse() 공개 정적인 메소드

Parses the specified message text.
public static Parse ( DependencyObject target, string text ) : IEnumerable
target System.Windows.DependencyObject The target.
text string The message text.
리턴 IEnumerable

프로퍼티 상세

CreateParameter 공개적으로 정적으로 프로퍼티

Function used to parse a string identified as a message parameter.
public static Func CreateParameter
리턴 Func

CreateTrigger 공개적으로 정적으로 프로퍼티

The function used to generate a trigger.
The parameters passed to the method are the the target of the trigger and string representing the trigger.
public static Func CreateTrigger
리턴 Func

InterpretMessageText 공개적으로 정적으로 프로퍼티

Function used to parse a string identified as a message.
public static Func InterpretMessageText
리턴 Func