Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming classes
Message
De
31/07/2013 13:09:41
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579528
Message ID:
01579539
Vues:
70
This message has been marked as a message which has helped to the initial question of the thread.
It sounds like this class is only used to store values. If that's the case, it's a Data Transfer Object (DTO). I would name it something like

SomethingDto. But you need to know what the something is. Invoke doesn't tell you what invoked it so InvokeDto is meaningless.

>I checked the second link, but it doesn't help too much :(
>
>Would InvokeAttributes or InvokeProperties class be any better? Essentially, I want to have properties such as
>
>List<String> Errors
>
>List<String>Warnings
>
>List<Int32>ErrorCodes
>
>Int32 LastErrorCode
>
>etc. properties in this class.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform