170 references to SetAttributeValue
aspire (14)
Packaging\NuGetConfigMerger.cs (14)
164add.SetAttributeValue("key", source);
165add.SetAttributeValue("value", source);
291targetSourceElement.SetAttributeValue("key", keyToUse);
306packageElement.SetAttributeValue("pattern", pattern);
354targetSourceElement.SetAttributeValue("key", keyToUse);
369packageElement.SetAttributeValue("pattern", mapping.PackageFilter);
428elementToFix.SetAttributeValue("key", properKey);
509packageSourceElement.SetAttributeValue("key", sourceKey);
512wildcardPackage.SetAttributeValue("pattern", "*");
548wildcardPackage.SetAttributeValue("pattern", "*");
682packageSource.SetAttributeValue("key", keyToUse);
687packageElement.SetAttributeValue("pattern", mapping.PackageFilter);
730packageSourceElement.SetAttributeValue("key", sourceKey);
733wildcardPackage.SetAttributeValue("pattern", "*");
IIS.FunctionalTests (9)
IIS.LongTests (14)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
577element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
582element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1314element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName);
1336.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1363.SetAttributeValue("bindingInformation", $":{port}:localhost");
1367.SetAttributeValue("sslFlags", "None");
IIS.NewHandler.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
577element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
582element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1314element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName);
1336.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1363.SetAttributeValue("bindingInformation", $":{port}:localhost");
1367.SetAttributeValue("sslFlags", "None");
IIS.NewShim.FunctionalTests (14)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
577element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
582element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1314element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName);
1336.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1363.SetAttributeValue("bindingInformation", $":{port}:localhost");
1367.SetAttributeValue("sslFlags", "None");
IIS.ShadowCopy.Tests (4)
IIS.Tests (3)
IISExpress.FunctionalTests (19)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (9)
309element.RequiredElement("system.applicationHost").RequiredElement("applicationPools").RequiredElement("add").SetAttributeValue("enable32BitAppOnWin64", "true");
322ancmElement.SetAttributeValue("image", ancmElement.Attribute("image").Value.Replace("x64", "x86"));
391.SetAttributeValue("arguments", "not-exist.dll"));
577element => element.Descendants("aspNetCore").Single().SetAttributeValue("processPath", "")
582element => element.Descendants("aspNetCore").Single().SetAttributeValue("hostingModel", "asdf")
1314element.Descendants("site").Single().Element("application").SetAttributeValue("path", "/" + appName);
1336.SetAttributeValue("bindingInformation", $":{TestPortHelper.GetNextSSLPort()}:localhost");
1363.SetAttributeValue("bindingInformation", $":{port}:localhost");
1367.SetAttributeValue("sslFlags", "None");
Microsoft.AspNetCore.DataProtection (5)
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
Microsoft.AspNetCore.Server.IntegrationTesting (3)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (38)
IISDeploymentParameterExtensions.cs (21)
33.SetAttributeValue("protocol", "https");
37.SetAttributeValue("sslFlags", "None");
48.SetAttributeValue("protocol", "https");
52.SetAttributeValue("sslFlags", "Ssl, SslNegotiateCert");
70windowsAuthentication.SetAttributeValue("enabled", enabled);
87.SetAttributeValue("enabled", enabled);
103.SetAttributeValue("enabled", enabled);
122.SetAttributeValue("overrideModeDefault", "Allow");
156addElement.SetAttributeValue("path", "*");
159.SetAttributeValue("statusCodes", "200-999");
165innerAddElement.SetAttributeValue("areas", "ANCM");
166innerAddElement.SetAttributeValue("verbosity", verbosity);
182innerAddElement.SetAttributeValue("name", "WWW Server");
183innerAddElement.SetAttributeValue("guid", "{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}");
188iae.SetAttributeValue("value", "65536");
200traceFailedRequestsElement.SetAttributeValue("directory", folderPath);
201traceFailedRequestsElement.SetAttributeValue("enabled", "true");
202traceFailedRequestsElement.SetAttributeValue("maxLogFileSizeKB", "1024");
212aspNetCoreElement.SetAttributeValue("processPath", transformation((string)aspNetCoreElement.Attribute("processPath"), contentRoot));
222aspNetCoreElement.SetAttributeValue("arguments", transformation((string)aspNetCoreElement.Attribute("arguments"), contentRoot));
242.SetAttributeValue("image", modulePath);
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Microsoft.DotNet.Build.Tasks.Installers (1)
Microsoft.DotNet.Build.Tasks.Workloads (2)
Microsoft.Maui.Resizetizer (18)
GeneratePackageAppxManifest.cs (12)
95 identity.SetAttributeValue(xname, ApplicationId);
112 identity.SetAttributeValue(xname, finalVersion);
203 visual.SetAttributeValue(xname, ApplicationTitle);
211 visual.SetAttributeValue(xname, ApplicationTitle);
220 visual.SetAttributeValue(xname, "transparent");
233 visual.SetAttributeValue(xname, path);
245 visual.SetAttributeValue(xname, path);
269 tile.SetAttributeValue(xname, path);
281 tile.SetAttributeValue(xname, path);
293 tile.SetAttributeValue(xname, path);
304 tile.SetAttributeValue(xname, ApplicationTitle);
343 splash.SetAttributeValue(xname, path);
System.Private.Xml.Linq (3)