dimanche 18 juillet 2021

Designing Module

I have a list of modules say 1, 2, 3, and so on. And I have a list of validations say A, B, C, D, and so on. Each module needs to perform some validations ex:-

  • module 1 will need to perform A and B validation,
  • module 2 will need to perform A, B, and C validation
  • module 3 will need to perform B and D validation

So could you tell which best design pattern I should follow in .net core so that I can perform the same efficiently? Some code samples will also help preferably in c#, but Java will also work.

Aucun commentaire:

Enregistrer un commentaire