Example #1
0
 public NotifyInfo.Builder SetType(NotifyInfo.Types.Type value)
 {
     this.PrepareBuilder();
     this.result.hasType = true;
     this.result.type_   = value;
     return(this);
 }
Example #2
0
        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);
        }
Example #3
0
        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);
        }