/// <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>(); }
/// <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; }
/// <summary> /// Initializes a new instance of the <see cref="SetVariableValueAction"/> class. /// </summary> public SetVariableValueAction() { VariableName = string.Empty; ValueToSet = new TriggerOrCommandParameter(); SilentSet = false; }
/// <summary> /// Initializes a new instance of the <see cref="StartLogAction"/> class. /// </summary> public StartLogAction() { LogNameParameter = new TriggerOrCommandParameter(); }