Attributes code snippets (11)

How to get custom attributes from assembly

Published: 21. March 2014 | Updated: 21. March 2014
Categories: Attributes Reflection
Tags: Attributes C# Reflection

How to get display name (DisplayAttribute) from Enum value

Published: 9. March 2014 | Updated: 9. March 2014
Categories: Attributes Reflection
Tags: Attributes C# Enums Localization Text

How to get assembly attributes

Published: 15. February 2012 | Updated: 15. February 2012
Categories: Attributes Reflection
Tags: Attributes C# Reflection

How to step through method in debug mode

Published: 25. November 2011 | Updated: 25. November 2011
Categories: Attributes Debug
Tags: Attributes C# Debug Visual Studio

How to make custom formatting in debugger

Published: 25. November 2011 | Updated: 25. November 2011
Categories: Attributes Debug
Tags: Attributes C# Debug Formatting Visual Studio

How to create conditional method

Published: 26. January 2009 | Updated: 25. November 2011
Categories: Attributes Debug
Tags: Attributes C# Debug Testing

How to use and retrieve enum description attribute

Published: 4. November 2011 | Updated: 4. November 2011
Categories: Attributes Enums
Tags: Attributes C# Enums Text

How to get member's custom attributes

Published: 18. December 2008 | Updated: 9. October 2011
Categories: Attributes Reflection
Tags: Attributes C# Reflection

How to mark type or member as obsolete (deprecated)

Published: 27. January 2009 | Updated: 9. October 2011
Categories: Attributes
Tags: Attributes C# Visual Studio

How to prevent a member to be visible in debug window

Published: 15. January 2009 | Updated: 15. January 2009
Categories: Attributes Debug
Tags: Attributes C# Debug Visual Studio