C# Class Caliburn.Micro.Parser

Parses text into a fully functional set of TriggerBase instances with ActionMessage.
显示文件 Open project: jenspettersson/Caliburn.Micro.Labs

Public Methods

Method Description
CreateMessage ( DependencyObject target, string messageText ) : ActionMessage

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

Parse ( DependencyObject target, string text ) : IEnumerable

Parses the specified message text.

Private Methods

Method Description
BindParameter ( FrameworkElement target, Parameter parameter, string elementName, string path, BindingMode bindingMode ) : void
CreateParameter ( DependencyObject target, string parameter ) : Parameter
CreateTrigger ( Type targetType, string triggerPlusMessage ) : System.Windows.Interactivity.TriggerBase

Method Details

CreateMessage() public static method

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

Parse() public static method

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