Timeline for Is this technique a design pattern? If so, what's it called?
Current License: CC BY-SA 2.5
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 1, 2012 at 14:32 | answer | added | Jordão | timeline score: 2 | |
Nov 17, 2010 at 15:34 | comment | added | Michael K | It's the access methods (get/set) for the class fields(variables). C# has a special syntax for creating get/set methods. | |
Nov 16, 2010 at 12:19 | comment | added | gablin |
Just need to ask: Are Foo and Bar methods or classes? I'm not very familiar with C#.
|
|
Nov 16, 2010 at 7:07 | vote | accept | Anthony | ||
Nov 16, 2010 at 4:19 | comment | added | Anthony | In reply to comments about getting the string from the database directly: it's not really what I was getting at. I just wanted to show that the bar is not set by the client but is instead set as a result of setting foo. | |
Nov 15, 2010 at 23:39 | answer | added | Scott Whitlock | timeline score: 1 | |
Nov 15, 2010 at 23:34 | answer | added | richeym | timeline score: 11 | |
Nov 15, 2010 at 23:31 | answer | added | Paul Nathan | timeline score: 0 | |
Nov 15, 2010 at 23:25 | comment | added | quentin-starin | I'll also throw out there that accessing the database in that location (property setter), is almost certainly violating all sorts of guiding principles (may I recommend SOLID if you are not already familiar with it: en.wikipedia.org/wiki/Solid_%28object-oriented_design%29 ) | |
Nov 15, 2010 at 23:16 | answer | added | quentin-starin | timeline score: 3 | |
Nov 15, 2010 at 23:06 | history | asked | Anthony | CC BY-SA 2.5 |