patterns:parameter_object
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
patterns:parameter_object [2016-07-20 13:15] – spelling error 149.126.110.238 | patterns:parameter_object [2020-10-12 16:50] – old revision restored (2013-08-04 15:04) 159.69.186.191 | ||
---|---|---|---|
Line 19: | Line 19: | ||
* A second problem is the evolution of method signatures. There are circumstances where there is the chance that in the future further parameters will be added without all the users of the method needing the new parameter. [[glossary: | * A second problem is the evolution of method signatures. There are circumstances where there is the chance that in the future further parameters will be added without all the users of the method needing the new parameter. [[glossary: | ||
- | ===== Solution | + | ===== Structure |
+ | ===== Dynamics ===== | ||
- | ==== Structure ==== | + | ===== Implementation Hints ===== |
- | + | ||
- | ==== Dynamics ==== | + | |
- | + | ||
- | ==== Implementation Hints ==== | + | |
- | + | ||
- | ==== Variations | + | |
+ | ===== Variations ===== | ||
===== Origin ===== | ===== Origin ===== | ||
{{page> | {{page> | ||
- | |||
===== Advantages ===== | ===== Advantages ===== | ||
Line 45: | Line 40: | ||
* [[principles: | * [[principles: | ||
* [[principles: | * [[principles: | ||
- | |||
===== Relations to Other Patterns ===== | ===== Relations to Other Patterns ===== | ||
Line 62: | Line 56: | ||
==== Pattern Collections ==== | ==== Pattern Collections ==== | ||
{{page> | {{page> | ||
- | |||
===== Examples ===== | ===== Examples ===== | ||
Line 68: | Line 61: | ||
==== Example 1: Event Args ==== | ==== Example 1: Event Args ==== | ||
- | A typical usage of this pattern is the grouping | + | A typical usage of this pattern is the groping |
* In .NET there is the class [[http:// | * In .NET there is the class [[http:// | ||
Line 78: | Line 71: | ||
On the other hand the parameter object pattern is already applied here. The parameters lpProcessAttributes, | On the other hand the parameter object pattern is already applied here. The parameters lpProcessAttributes, | ||
- | |||
===== Description Status ===== | ===== Description Status ===== | ||
Line 85: | Line 77: | ||
/ | / | ||
/ | / | ||
- | |||
===== Further Reading ===== | ===== Further Reading ===== | ||
Line 91: | Line 82: | ||
* [[wiki> | * [[wiki> | ||
* [[wiki> | * [[wiki> | ||
- | |||
===== Discussion ===== | ===== Discussion ===== | ||
Discuss this wiki article and the pattern on the corresponding [[talk: | Discuss this wiki article and the pattern on the corresponding [[talk: |
patterns/parameter_object.txt · Last modified: 2021-10-18 22:24 by christian