Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="SetNotificationTriggerProperty"/> class.
        /// </summary>
        public SetNotificationTriggerProperty()
        {
            implementation = new InternalSetSubObjectPropertyCmdlet <NotificationTrigger, TriggerParameter, TriggerProperty>(
                this,
                "Object",
                "Notification Trigger",
                CreateTriggerParameter,
                (t, p) => client.SetTriggerProperty(t, p),
                (t, p) => client.SetTriggerProperty(t, p),
                (o, s, p) => client.SetTriggerProperty(o, s, p),
                e => TriggerParameterParser.GetPropertyType((TriggerProperty)e)
                );

            parameterParser = new TriggerParameterParser(client);
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddNotificationTrigger"/> class.
 /// </summary>
 public AddNotificationTrigger()
 {
     parameterParser = new TriggerParameterParser(client);
 }