示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConditionalAction"/> class.
 /// </summary>
 public ConditionalAction()
 {
     LeftConditionParameter  = new TriggerOrCommandParameter();
     RightConditionParameter = new TriggerOrCommandParameter();
     Condition        = ActionCondition.Equals;
     ActionsToExecute = new List <ActionBase>();
 }
示例#2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TriggerOrCommandParameterViewModel"/> class.
        /// </summary>
        /// <param name="parameter">The parameter.</param>
        /// <param name="parameterDescriptor">The parameter descriptor.</param>
        /// <param name="allParameterDescriptions">All parameter descriptions.</param>
        public TriggerOrCommandParameterViewModel([NotNull] TriggerOrCommandParameter parameter, [NotNull] ParameterDescription parameterDescriptor, [NotNull] IEnumerable <ParameterDescription> allParameterDescriptions)
            : base(parameter, parameterDescriptor, allParameterDescriptions)
        {
            Assert.ArgumentNotNull(parameter, "parameter");
            Assert.ArgumentNotNull(parameterDescriptor, "parameterDescriptor");
            Assert.ArgumentNotNull(allParameterDescriptions, "allParameterDescriptions");

            _parameter = parameter;
        }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SetVariableValueAction"/> class.
 /// </summary>
 public SetVariableValueAction()
 {
     VariableName = string.Empty;
     ValueToSet   = new TriggerOrCommandParameter();
     SilentSet    = false;
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StartLogAction"/> class.
 /// </summary>
 public StartLogAction()
 {
     LogNameParameter = new TriggerOrCommandParameter();
 }