Beispiel #1
0
 public IIntentState Filter(IIntentState intentValue)
 {
     intentValue.Dispatch(this);
     return(_intentValue);
 }
Beispiel #2
0
 public Color GetFullColor(IIntentState state)
 {
     _color = Color.Transparent;
     state.Dispatch(this);
     return(_color);;
 }
Beispiel #3
0
 public ICommand Evaluate(IIntentState intentState)
 {
     intentState.Dispatch(this);
     return(EvaluatorValue);
 }
Beispiel #4
0
 /// <summary>
 /// Process the intent and return a value that represents the percent of intensity for the state
 /// </summary>
 /// <param name="intentValue"></param>
 /// <returns></returns>
 public double GetIntensityForState(IIntentState intentValue)
 {
     intentValue.Dispatch(this);
     return(_intensityValue);
 }
 public Color GetFullColor(IIntentState state)
 {
     _color = Color.Transparent;
     state.Dispatch(this);
     return _color;;
 }
 // Not going to assume how the result is going to be used, so
 // we're not going to filter to a command and strip out
 // the intent.
 public IIntentState Filter(IIntentState intentValue)
 {
     intentValue.Dispatch(this);
     return _intentValue;
 }