Пример #1
0
 /// <summary>
 /// Initializes an instance of this class.
 /// </summary>
 /// <param name="trigger">The trigger to use.</param>
 /// <param name="channelVM">
 /// The viewmodel of the scope channel the trigger is assigned to.
 /// </param>
 protected TriggerViewModelBase(TTrigger trigger, ChannelViewModel channelVM)
 {
     Trigger   = trigger;
     ChannelVM = channelVM;
 }
Пример #2
0
 /// <summary>
 /// Initializes an instance of this class.
 /// </summary>
 /// <param name="trigger">The trigger to use.</param>
 /// <param name="channelVM">
 /// The viewmodel of the scope channel the trigger is assigned to.
 /// </param>
 public LevelTriggerViewModel(LevelTrigger trigger, ChannelViewModel channelVM)
     : base(trigger, channelVM)
 {
 }
Пример #3
0
 /// <summary>
 /// Initializes an instance of this class.
 /// </summary>
 /// <param name="trigger">The trigger to use.</param>
 /// <param name="channelVM">
 /// The viewmodel of the scope channel the trigger is assigned to.
 /// </param>
 public NullTriggerViewModel(NullTrigger trigger, ChannelViewModel channelVM)
     : base(trigger, channelVM)
 {
 }
Пример #4
0
 /// <summary>
 /// Initializes an instance of this class.
 /// </summary>
 /// <param name="channelVM">
 /// The viewmodel of the scope channel the trigger is assigned to.
 /// </param>
 public LevelTriggerViewModel(ChannelViewModel channelVM)
     : this(new LevelTrigger(), channelVM)
 {
 }