40 references to XAttribute
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\View\NamespaceDisplayAutomationPeer.cs (2)
28
new
XAttribute
("Status", namespaceDisplay.IsInvalid ? "Invalid" : "Valid"),
29
new
XAttribute
("ErrorMessage", namespaceDisplay.ErrorMessage));
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (2)
204
new
XAttribute
("Status", vbIdentifier.IsValid ? "Valid" : "Invalid"),
205
new
XAttribute
("WarningMessage", vbIdentifier.ErrorMessage));
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditorAutomationPeer.cs (3)
27
new
XAttribute
("Status", textBox.HasErrors ? "Invalid" : "Valid"),
28
new
XAttribute
("EditingState", textBox.EditingState.ToString()),
29
new
XAttribute
("ErrorMessage", String.IsNullOrEmpty(textBox.ErrorMessage) ? String.Empty : textBox.ErrorMessage));
System.Data.Services.Design (1)
System\Data\EntityModel\EntityClassGenerator.cs (1)
553
e.Add(new
XAttribute
(newNamespace.GetName(attribute.Name.LocalName), attribute.Value));
System.ServiceModel.Web (23)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (23)
77
new XElement(HtmlTdElementName, new
XAttribute
(HtmlTitleAttributeName, BuildFullUriTemplate(baseUri, operationHelpInfo.UriTemplate)),
79
new
XAttribute
(HtmlRelAttributeName, HtmlOperationClass),
80
new
XAttribute
(HtmlHrefAttributeName, String.Format(CultureInfo.InvariantCulture, HelpOperationPageUrl, operationHelpInfo.Name)), operationHelpInfo.Method)),
89
firstTr.Descendants(HtmlTdElementName).First().Add(new
XAttribute
(HtmlRowspanAttributeName, rowspan));
99
firstTr.Descendants(HtmlTdElementName).First().Add(new
XAttribute
(HtmlRowspanAttributeName, rowspan));
101
document.Descendants(HtmlBodyElementName).First().Add(new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
102
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageOperationsAt, baseUri)),
120
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
121
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageReferenceFor, BuildFullUriTemplate(baseUri, operationInfo.UriTemplate))),
144
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
145
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageTitleText)));
162
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
163
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageRequestErrorTitle)));
201
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
202
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageTitleText)));
219
XElement div = new XElement(HtmlDivElementName, new
XAttribute
(HtmlIdAttributeName, HtmlContentClass),
220
new XElement(HtmlPElementName, new
XAttribute
(HtmlClassAttributeName, HtmlHeading1Class), SR2.GetString(SR2.HelpPageTitleText)),
272
contentTd.Add(new XElement(HtmlAElementName, new
XAttribute
(HtmlHrefAttributeName, "#" + (isRequest ? HtmlRequestXmlId : HtmlResponseXmlId)), SR2.GetString(SR2.HelpPageExample)));
280
contentTd.Add(new XElement(HtmlAElementName, new
XAttribute
(HtmlHrefAttributeName, "#" + (isRequest ? HtmlRequestSchemaId : HtmlResponseSchemaId)), SR2.GetString(SR2.HelpPageSchema)));
289
new XElement(HtmlAElementName, new
XAttribute
(HtmlHrefAttributeName, "#" + (isRequest ? HtmlRequestJsonId : HtmlResponseJsonId)), SR2.GetString(SR2.HelpPageExample)))));
361
new XElement(HtmlPreElementName, new
XAttribute
(HtmlClassAttributeName, label), content));
366
new XElement(HtmlAElementName, new
XAttribute
(HtmlNameAttributeName, label), title),
367
new XElement(HtmlPreElementName, new
XAttribute
(HtmlClassAttributeName, label), content));
System.Xml.Linq (7)
System\Xml\Linq\XLinq.cs (5)
3039
e.AppendAttributeSkipNotify(new
XAttribute
(aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value));
3113
XAttribute a = new
XAttribute
(aCache.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
4358
AppendAttribute(new
XAttribute
(name, value));
5084
XAttribute a = new
XAttribute
(XNamespace.Get(r.Prefix.Length == 0 ? string.Empty : r.NamespaceURI).GetName(r.LocalName), r.Value);
7927
XAttribute a = new
XAttribute
(attrName, attrValue);
System\Xml\Linq\XNodeNavigator.cs (1)
760
System.Threading.Interlocked.CompareExchange(ref XmlNamespaceDeclaration, new
XAttribute
(XNamespace.Xmlns.GetName("xml"), XNamespace.xmlPrefixNamespace), null);
System\Xml\Linq\XNodeValidator.cs (1)
234
a = new
XAttribute
(XNamespace.Get(sa.QualifiedName.Namespace).GetName(sa.QualifiedName.Name), GetDefaultValue(sa));
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\GenerateTemporaryAssemblyTask.cs (2)
159
XAttribute include = new
XAttribute
("Include", item.ItemSpec);
181
newResource.Add(new
XAttribute
("Include", item.ItemSpec));