85 references to SetAttributeValue
aspire (16)
Packaging\NuGetConfigMerger.cs (16)
222
add.
SetAttributeValue
("key", source);
223
add.
SetAttributeValue
("value", source);
349
targetSourceElement.
SetAttributeValue
("key", keyToUse);
364
packageElement.
SetAttributeValue
("pattern", pattern);
412
targetSourceElement.
SetAttributeValue
("key", keyToUse);
427
packageElement.
SetAttributeValue
("pattern", mapping.PackageFilter);
486
elementToFix.
SetAttributeValue
("key", properKey);
567
packageSourceElement.
SetAttributeValue
("key", sourceKey);
570
wildcardPackage.
SetAttributeValue
("pattern", "*");
606
wildcardPackage.
SetAttributeValue
("pattern", "*");
739
packageSource.
SetAttributeValue
("key", keyToUse);
744
packageElement.
SetAttributeValue
("pattern", mapping.PackageFilter);
787
packageSourceElement.
SetAttributeValue
("key", sourceKey);
790
wildcardPackage.
SetAttributeValue
("pattern", "*");
981
globalPackagesFolderAdd.
SetAttributeValue
("key", "globalPackagesFolder");
982
globalPackagesFolderAdd.
SetAttributeValue
("value", ".nugetpackages");
Microsoft.AspNetCore.DataProtection (5)
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptor.cs (2)
51
encryptionElement.
SetAttributeValue
("provider", Configuration.EncryptionAlgorithmProvider);
58
hashElement.
SetAttributeValue
("provider", Configuration.HashAlgorithmProvider);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptor.cs (1)
50
encryptionElement.
SetAttributeValue
("provider", Configuration.EncryptionAlgorithmProvider);
AuthenticatedEncryption\ConfigurationModel\XmlExtensions.cs (1)
28
element.
SetAttributeValue
(XmlConstants.RequiresEncryptionAttributeName, true);
XmlExtensions.cs (1)
24
newElement.
SetAttributeValue
(attr.Name, attr.Value);
Microsoft.AspNetCore.OpenApi.SourceGenerators (1)
XmlComments\XmlComment.InheritDoc.cs (1)
248
replacement.
SetAttributeValue
(DocumentationCommentXmlNames.CrefAttributeName, docId);
Microsoft.CodeAnalysis.Workspaces (11)
Log\WorkspaceStructureLogger.cs (10)
41
workspaceElement.
SetAttributeValue
("kind", workspaceKind);
116
projectElement.
SetAttributeValue
("id", SanitizePath(project.Id.ToString()));
117
projectElement.
SetAttributeValue
("name", project.Name);
118
projectElement.
SetAttributeValue
("assemblyName", project.AssemblyName);
119
projectElement.
SetAttributeValue
("language", project.Language);
120
projectElement.
SetAttributeValue
("path", SanitizePath(project.FilePath));
121
projectElement.
SetAttributeValue
("outputPath", SanitizePath(project.OutputFilePath));
124
projectElement.
SetAttributeValue
("hasSuccessfullyLoaded", hasSuccessfullyLoaded);
158
referenceElement.
SetAttributeValue
("missingInSolution", "true");
305
documentElement.
SetAttributeValue
("clientName", clientName);
Shared\Extensions\ISymbolExtensions.cs (1)
440
replacement.
SetAttributeValue
(DocumentationCommentXmlNames.CrefAttributeName, docId);
Microsoft.DotNet.Build.Tasks.Installers (3)
src\CreateWixBuildWixpack.cs (2)
601
element.
SetAttributeValue
(sourceAttr, $"{pattern}\\{parts[1]}");
616
element.
SetAttributeValue
(sourceAttr, newSourceValue);
src\GenerateMacOSDistributionFile.cs (1)
136
element.
SetAttributeValue
(attribute, value);
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);
GenerateTizenManifest.cs (6)
179
splashscreenElement.
SetAttributeValue
("src", image.Value);
180
splashscreenElement.
SetAttributeValue
("type", "img");
181
splashscreenElement.
SetAttributeValue
(DpiName, image.Key.Resolution);
182
splashscreenElement.
SetAttributeValue
("orientation", image.Key.Orientation);
183
splashscreenElement.
SetAttributeValue
("indicator-display", "false");
195
element.
SetAttributeValue
(attrName, value);
Microsoft.NET.Sdk.Publish.Tasks (11)
WebConfigTransform.cs (11)
82
aspNetCoreElement.
SetAttributeValue
("name", "aspNetCore");
99
aspNetCoreElement.
SetAttributeValue
("processPath", appPath);
105
aspNetCoreElement.
SetAttributeValue
("processPath", appPath);
109
aspNetCoreElement.
SetAttributeValue
("processPath", "dotnet");
137
aspNetCoreElement.
SetAttributeValue
("stdoutLogFile", logPath);
183
aspNetCoreElement.
SetAttributeValue
("hostingModel", aspNetCoreHostingModelValue);
186
aspNetCoreElement.
SetAttributeValue
("hostingModel", aspNetCoreHostingModelValue);
206
envVariableElement.
SetAttributeValue
("name", "ASPNETCORE_ENVIRONMENT");
207
envVariableElement.
SetAttributeValue
("value", environmentName);
223
element.
SetAttributeValue
(attributeName, (string?)element.Attribute(attributeName) ?? value);
242
aspNetCoreElement.
SetAttributeValue
("arguments", arguments.Trim());
NuGet.Configuration (12)
Settings\Items\AuthorItem.cs (1)
56
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\CredentialsItem.cs (1)
234
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\FileClientCertItem.cs (1)
150
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\OwnersItem.cs (1)
80
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\PackageSourceMappingSourceItem.cs (1)
141
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\RepositoryItem.cs (1)
125
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\StoreClientCertItem.cs (1)
226
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\Items\UnknownItem.cs (1)
158
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\SettingElement.cs (1)
124
element.
SetAttributeValue
(attr.Key, attr.Value);
Settings\SettingItem.cs (2)
85
xElement.
SetAttributeValue
(attribute.Key, value);
97
xElement.
SetAttributeValue
(attribute.Key, attribute.Value);
Settings\SettingsGroup.cs (1)
66
element.
SetAttributeValue
(attr.Key, attr.Value);
NuGet.Packaging (4)
PackageCreation\Xml\PackageMetadataXmlExtensions.cs (2)
37
elem.
SetAttributeValue
("minClientVersion", metadata.MinClientVersionString);
189
groupElem.
SetAttributeValue
(identifierAttributeName, groupIdentifier);
PackagesConfigWriter.cs (2)
469
existingNode.
SetAttributeValue
(name, value: null);
479
existingNode.
SetAttributeValue
(name, newValue);
sdk-tasks (1)
OverrideAndCreateBundledNETCoreAppPackageVersion.cs (1)
95
item2.
SetAttributeValue
(updateAttr, v0);
System.Private.Xml.Linq (3)
System\Xml\Linq\XAttribute.cs (1)
189
/// <seealso cref="XElement.
SetAttributeValue
"/>
System\Xml\Linq\XElement.cs (2)
1241
/// <seealso cref="XElement.
SetAttributeValue
"/>
1278
/// <seealso cref="XElement.
SetAttributeValue
"/>