Designing Dotnet Types

Choose the right kind of .NET type for new behavior — static class, extension method, injected service, hosted service, options type, record, or interface. USE FOR: deciding how to shape a new unit of behavior or data before writing it, or reviewing that an existing type has the right shape for its dependencies and lifecycle. DO NOT USE FOR: registering a type or choosing its DI lifetime (use configuring-dotnet-dependency-injection).

nice3point 435eade 3.4 KB Updated

File contents

nice3point/revit-skills/tree/main/plugins/dotnet-advanced/skills/designing-dotnet-types commit 435eadeda1

Frequently asked questions

npx skillmds@latest add nice3point/designing-dotnet-types