Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming classes
Message
 
 
To
31/07/2013 12:38:28
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01579528
Message ID:
01579535
Views:
49
>The class name needs to tell you what it does or holds. CurrentCallObject doesn't tell me anything. What call? Instead of generic "call", use what calls it or what it holds. And object isn't needed as it will be an object once instantiated.
>
>I'll refer you AGAIN to Framework Design Guidelines http://www.barnesandnoble.com/w/framework-design-guidelines-krzysztof-cwalina/1100835446?ean=9780321545619 where all this is explained. They're online too http://msdn.microsoft.com/en-us/library/ms229042.aspx. Even though it refers to "framework" there is good advice for application developers
>

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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform