Example #1
0
        public bool has_priority(level st, bool precedenza = true)
        {
            bool?c = check_priority(check_machine, st.check_machine);

            if (c.HasValue)
            {
                return(c.Value);
            }

            c = check_priority(check_debug, st.check_debug);
            if (c.HasValue)
            {
                return(c.Value);
            }

            return(precedenza);
        }
Example #2
0
 public element(string name, level lvl)
 {
     _name = name; _level = lvl;
 }
Example #3
0
 public conn(string name, string conn_string, string provider, level lvl)
     : base(name, lvl)
 {
     _conn = conn_string; _provider = provider;
 }
Example #4
0
 public key(string name, string value, level lvl, XmlAttributeCollection attrs)
     : base(name, lvl)
 {
     _value = value;
     _attrs = attrs.Cast <XmlAttribute>().ToDictionary(x => x.Name, x => x.Value);
 }
Example #5
0
 public ws(string name, string url, level lvl) : base(name, lvl)
 {
     _url = url;
 }