Example #1
0
        protected override string GetItemStatusCore()
        {
            NamespaceDisplay namespaceDisplay = this.Owner as NamespaceDisplay;

            if (namespaceDisplay != null)
            {
                XElement itemStatus = new XElement("NamespaceStatus",
                                                   new XAttribute("Status", namespaceDisplay.IsInvalid ? "Invalid" : "Valid"),
                                                   new XAttribute("ErrorMessage", namespaceDisplay.ErrorMessage));
                return(itemStatus.ToString());
            }
            return(base.GetItemStatusCore());
        }
 public NamespaceDisplayAutomationPeer(NamespaceDisplay owner)
     : base(owner)
 {
 }
Example #3
0
 public NamespaceDisplayAutomationPeer(NamespaceDisplay owner)
     : base(owner)
 {
 }