public static bool IsMissing(Object name)
        {
            if (ReferenceEquals(name, Unifiable.MISSING) || name == null)
            {
                return(true);
            }
            if (ReferenceEquals(name, Unifiable.NULL) || IsNull(name))
            {
                AltBot.RaiseErrorStatic("Not sure we are happy returning false here");
                return(false);
            }
            if ((name is string))
            {
                string sname = ToUpper(((string)name));
                return(sname == "OM" || sname == "$MISSING");
            }
            if (!(name is Unifiable))
            {
                return(false);
            }
            var name2 = ((Unifiable)name).SpecialName;

            if (IsNull(name2))
            {
                return(false);
            }
            return(IsIncomplete(name2));
        }
示例#2
0
        protected GraphLinkInfo(XmlNode template)
        {
            if (HoldXMLNode)
            {
                srcNode = template;
            }

            if (NoInfo)
            {
                AltBot.RaiseErrorStatic("now Inof");
            }
        }