public NotifyInfo.Builder SetType(NotifyInfo.Types.Type value) { this.PrepareBuilder(); this.result.hasType = true; this.result.type_ = value; return(this); }
private bool typeNotNull(NotifyInfo.Types.Type type) { bool flag = false; foreach (NotifyInfo.Types.Type type1 in Enum.GetValues(typeof(NotifyInfo.Types.Type))) { if (type1.Equals((object)type)) { flag = true; } } return(flag); }
private bool typeNotNull(NotifyInfo.Types.Type type) { bool result = false; foreach (NotifyInfo.Types.Type type2 in Enum.GetValues(typeof(NotifyInfo.Types.Type))) { if (type2.Equals(type)) { result = true; } } return(result); }