Fixed link.
This commit is contained in:
parent
36482d5b7c
commit
1fc15829ad
@ -425,7 +425,7 @@ Behavioral patterns are concerned with algorithms and the assignment of responsi
|
|||||||
## <a name="execute-around">Execute Around</a> [↑](#list-of-design-patterns)
|
## <a name="execute-around">Execute Around</a> [↑](#list-of-design-patterns)
|
||||||
**Intent:** Execute Around idiom frees the user from certain actions that should always be executed before and after the business method. A good example of this is resource allocation and deallocation leaving the user to specify only what to do with the resource.
|
**Intent:** Execute Around idiom frees the user from certain actions that should always be executed before and after the business method. A good example of this is resource allocation and deallocation leaving the user to specify only what to do with the resource.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Applicability:** Use the Execute Around idiom when
|
**Applicability:** Use the Execute Around idiom when
|
||||||
* You use an API that requires methods to be called in pairs such as open/close or allocate/deallocate.
|
* You use an API that requires methods to be called in pairs such as open/close or allocate/deallocate.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user