Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1955

Use Extension Methods For Primary Interface Overloads

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.0.0-alpha4
    • None
    • library
    • None
    • 1

    Description

      Using extension methods for interface overloads makes mocking the interfaces for unit testing much easier. The consumer only needs to mock the most powerful overload, and the extension methods fill defaults and forward the request on to that overload. It also simplifies the surface area of the interface and reduces clutter on the implementation.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            btburnett3 Brant Burnett
            btburnett3 Brant Burnett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty