1 write to Name
aspire (1)
Agents\SkillDefinition.cs (1)
40
Name
= name;
16 references to Name
aspire (13)
Agents\SkillDefinition.cs (2)
93
=> string.Equals(
Name
, name, comparison);
101
public override string ToString() =>
Name
;
Commands\AgentInitCommand.cs (11)
42
[CommonAgentApplicators.AspireSkillName, SkillDefinition.PlaywrightCli.
Name
, SkillDefinition.DotnetInspect.
Name
];
394
.Where(name => name != SkillDefinition.DotnetInspect.
Name
|| SkillDefinition.DotnetInspect.IsApplicableToLanguage(detectedLanguage))
477
var playwright = selectedSkillNames.Contains(SkillDefinition.PlaywrightCli.
Name
);
478
var dotnetInspect = selectedSkillNames.Contains(SkillDefinition.DotnetInspect.
Name
);
641
new InstalledSkillSummaryItem(SkillDefinition.PlaywrightCli.
Name
, directory)));
974
var fullSkillDirectoryPath = Path.Combine(skillBaseDirectory, skill.
Name
);
979
throw new InvalidOperationException($"Skill '{skill.
Name
}' does not define installable files.");
992
return new(skill.
Name
, skillBaseDirectory);
997
return new(skill.
Name
, skillBaseDirectory);
1002
string.Format(CultureInfo.CurrentCulture, AgentCommandStrings.InitCommand_FailedToInstallSkill, skill.
Name
, fullSkillDirectoryPath, ex.Message));
Aspire.Cli.Tests (3)
Commands\AgentInitCommandTests.cs (3)
320
$"{SkillDefinition.PlaywrightCli.
Name
} — {AgentCommandStrings.SkillDescription_PlaywrightCli}",
321
$"{SkillDefinition.DotnetInspect.
Name
} — {AgentCommandStrings.SkillDescription_DotnetInspect}"],
672
Assert.Equal(expected, File.Exists(Path.Combine(workspace.Path, ".agents", "skills", SkillDefinition.DotnetInspect.
Name
, "SKILL.md")));