Skip to main content

migrate-static-to-wrapper

Migrate C# static calls to a wrapper or built-in abstraction the user already named, within named files/projects, including affected fake-based test updates. USE FOR explicit DateTime.UtcNow/Now to TimeProvider, File.* to IFileSystem, existing IEnvironmentReader/ITextFileStore, scoped migrations, constructor injection, or a static API seam that keeps callers compiling and DateTimeKind unchanged. DO NOT USE when the user asks for behavior tests but leaves seam selection open (testability-obstacle), for detecting statics (detect-static-dependencies), designing a new wrapper (generate-testability-wrappers), or test-framework migration.

Aller à l'installation

Informations de source

Dépôt
managedcode/dotnet-skills
Dernière activité de la source
29 août 2026 à 13:21
Langue détectée de SKILL.md
anglais
Étoiles
477
Forks
33

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.