Servant Design Pattern - TechNet Articles - United States (English) - TechNet Wiki

This article describes the Servant design pattern. This is a behavioral design pattern, a category of design pattern used by software engineers, when writing computer programs.

Table of Contents

Servant Design Pattern

This article describes the Servant design pattearchy-item">Introduction

  • Benefits
  • Examples of the pattern
  • See Also
  • Community Resources
  • References section
  • Introduction

    The Servant pattern is a design pattern, used in software engineering to encapsulate a service class that can be used to perform common tasks on a set of classes, rather than repeating the code in each class. The class is passed into the servant, which performs it's service on the class.

    It is defined as a behavioral design pattern, because the servant is acting on the classes to change their behavior.

    Benefits

    The servant pattern helps keep code tidy and removes duplication.

    Examples of the pattern

    [please contribute]

     

     

    Return to Top


    See Also

    Link to domain parent articles and related articles in TechNet Wiki.

     

    Return to Top


    Community Resources

    These are the external links, including links to Microsoft and TechNet sites that are non-Wiki
    • [Please contribute]

     

    Return to Top


    References section

    Use this section if you pulled source material and ideas from other sites, blogs, or forums. Make sure you have permission from authors to use their material.
    • [Please contribute]

     

     

    Return to Top