Different implementation for different enum value

Different implementation for different enum value

I have a question which is more design related. I am writing validators for my classes and I want a different vlidator for lets say save logic than update logic. So I was creating an interface which should be something like interface&nbsp;<strong>IObjectValidator&gt;ObjectToValidate, ValidationForMethod&lt;</strong>&nbsp;and not sure what I can do to use to do something like&nbsp;<strong>UserValidatorForSave : IObjectValidator&gt;User, ValidationMethod.Save&lt;</strong>&nbsp;I know it's not making much sense but kindly suggest a solution where I can do something like that.

I have a question which is more design related. I am writing validators for my classes and I want a different vlidator for lets say save logic than update logic. So I was creating an interface which should be something like interface IObjectValidator>ObjectToValidate, ValidationForMethod< and not sure what I can do to use to do something like UserValidatorForSave : IObjectValidator>User, ValidationMethod.Save< I know it's not making much sense but kindly suggest a solution where I can do something like that.

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Variable Introduction in C#[Bangla]

LIKE | COMMENT | SHARE | SUBSCRIBE A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C# has a speci...

Taking Input From User In C#[Bangla]

LIKE | COMMENT | SHARE | SUBSCRIBE In C#, the simplest method to get input from the user is by using the ReadLine() method of the Console class. However, Rea...