Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming classes
Message
From
31/07/2013 13:10:56
 
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:
01579540
Views:
56
>>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.


Looks like you always want quick solutions (fixes) and hardly spend time understanding the basics
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform