about_Classes
doesn't mention the Experimental or System.Obsolete attributes
#10138
Closed
3 tasks done
Labels
area-about
Area - About_ topics
area-core
Area - Microsoft.PowerShell.Core module
issue-doc-bug
Issue - error in documentation
Prerequisites
Get-Foo
cmdlet" instead of "Typo."Links
Summary
The
about_Classes
article discusses several useful attributes and practices for developing PowerShell classes, but it doesn't cover using the Experimental attribute to mark a class or property as experimental, nor using the System.Obsolete attribute to mark a class, property, or method as obsolete.Both practices are useful for PowerShell developers and can impact the user experience for their modules and classes.
Details
A common development need is to mark new functionality as experimental or replaced functionality as obsolete. Further, PowerShell developers might want to build functionality on PowerShell's own experimental features.
Suggested Fix
Extend the documentation in
about_Classes
to cover experimental and obsolete classes and class members.The text was updated successfully, but these errors were encountered: