In
computing or
computer programming, delegation refers generally to one entity passing something to another entity,
[Barry Wilkinson, ''Grid Computing: Techniques and Applications'' (2009), p. 164, .] and narrowly to various specific forms of relationships. These include:
*
Delegation (object-oriented programming)
In object-oriented programming, delegation refers to evaluating a member (property or method) of one object (the receiver) in the context of another original object (the sender). Delegation can be done explicitly, by passing the sending object to ...
, evaluating a member of one object (the receiver) in the context of another, original object (the sender).
**
Delegation pattern In software engineering, the delegation pattern is an object-oriented design pattern that allows object composition to achieve the same code reuse as inheritance.
In delegation, an object handles a request by delegating to a second object (the ''de ...
, a design pattern implementing this feature.
**
Forwarding (object-oriented programming), an often-confused technique where a sending object uses the corresponding member of another object, without the receiving object having any knowledge of the original, sending object.
**
Object aggregation or consultation, general term for one object using another.
*
Delegation (computer security), one user or process allowing another user or process to use their credentials or permissions.
*
Delegate (CLI), a form of type-safe function pointer used by the
Common Language Infrastructure
The Common Language Infrastructure (CLI) is an open specification and technical standard originally developed by Microsoft and standardized by ISO/IEC (ISO/IEC 23271) and Ecma International (ECMA 335) that describes executable code and a runt ...
(CLI), specifying both a method to call and optionally an object to call the method on.
See also
*
Delegation (disambiguation)
Delegation is the assignment of any responsibility or authority to another person.
Delegation may also refer to:
* Delegation (band), a British soul musical group 1975–1999
* Delegation (computing), passing of something from one entity to anot ...
References
{{SIA