Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7713235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:49:26+00:00 2026-06-01T01:49:26+00:00

I am currently rewriting a SDK to access a webservice. Since the model for

  • 0

I am currently rewriting a SDK to access a webservice.

Since the model for a database query consists of many classes (actually one class for each of about twenty possible filters), I decided to provide a fluent interface additonally.

So instead of

new Query(
 Age = new AgeFilter() { From = 18, To = 65 },
 Location = new PostalCodeFilter() { Zip = 12345, new RadiusDefinition() { ... } }
);

the user can now write:

Query.Create()
  .WithAge(18, 65)
  .WithLocation(12345, 50, "miles");

Now I found out that the traditional way has to be included as well (I cannot hide the actual objects as internal).

How can I avoid having to document both the parameters of the fluent interface and the fields of the data classes? The descriptions are the same. I thought about see/seealso but this wouldn’t show up in Visual Studio’s Code Assistant.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:49:27+00:00Added an answer on June 1, 2026 at 1:49 am

    If you use Sandcastle you can use the <inheritdoc /> tag just like this:

    ///<param name="from">
    ///<inheritdoc cref="AgeFilter.From" select="/summary/node()" />
    ///</param>
    

    or

    ///<summary>
    ///<inheritdoc cref="QueryFilters.WithAge" select="/param[@name='from']/node()"/>
    ///</summary>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently rewriting our company's database app, which is an Access-VBA frontend for a
I am in the middle of rewriting an MS Access database that currently is
I am currently rewriting one of my programs. It has a heavily recursive function
I'm currently rewriting a free educational digital circuit simulator to add inertiality to its
I'm currently rewriting an e-shop - but only the client side, i.e. the CMS
I am currently rewriting a URL, however my RegEx expression is catching a directory
I'm using Intelligencia url rewriting currently but have just leased an IIS 7.5 server
I am currently in the process of rewriting an application whereby teachers can plan
I've been tasked with rewriting the Javascript engine currently powering my customer's internal website.
I’m looking at rewriting a portion of our application in C# (currently legacy VB6

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.