Ejemplo n.º 1
0
        internal static string ToSerializedValue(this NotifyOption value)
        {
            switch (value)
            {
            case NotifyOption.NoNotification:
                return("NoNotification");

            case NotifyOption.MailOnFailure:
                return("MailOnFailure");

            case NotifyOption.MailOnCompletion:
                return("MailOnCompletion");
            }
            return(null);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the RefreshRequest class.
 /// </summary>
 /// <param name="notifyOption">Mail notification options (success
 /// and/or failure, or none). Possible values include:
 /// 'NoNotification', 'MailOnFailure', 'MailOnCompletion'</param>
 public RefreshRequest(NotifyOption notifyOption)
 {
     NotifyOption = notifyOption;
     CustomInit();
 }