Esempio n. 1
0
        private void setMode()
        {
            string s_first_word = interface_item_string.ElementAt(0);

            SetModeFromWord(s_first_word);
            if (!interface_mode.Equals(InterfaceMode._not_defined))
            {
                interface_item_string.RemoveAt(0);
            }
            else
            {
                interface_mode = InterfaceMode._in;
                if (interface_type.Equals(InterfaceType.not_defined))
                {
                    interface_type = InterfaceType.constant;
                }
            }
        }
Esempio n. 2
0
 public bool Equals(HandlerTypeDescriptor other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Method == other.Method && HandlerType.Equals(other.HandlerType) && InterfaceType.Equals(other.InterfaceType));
 }