Tag: Enumeration
-
Implementing inheritance with Enumeration class
The traditional Enum types do not support inheritance. The Enumeration class helps us to get away from the limitation.
-
Generating client code with NSwag for Enumeration class
This post describes how we can render an Enumeration class as an Enum type in client code with NSwag by implementing Swagger ISchemaFilter.
-
Enumeration class as query string parameter
In this post, I have explained how you can use an Enumeration class as a query string parameter by creating a custom Model Binder.
-
Series: Enumeration Classes – DDD and beyond
We typically use Enumeration classes with Domain-Driven Design (DDD). In this series, I will describe how you can use an Enumeration Class beyond DDD.
-
Enumeration class and JSON Serialization
In this post, I will explain how we can serialize an Enumeration class using a custom JSON Converter for both System.Text.Json and Newtonsoft.Json.
-
Introduction to Enumeration Classes
This is the first post in the series: Enumeration classes – DDD and beyond. This post gives an introduction to an Enumeration class.