0

How can I reuse parameter summaries?

I have multiple classes and construtors that use the same parameter and would like to be able to single-source the parameter description. I have been unable to use the copy-from feature as provided and have not found a way to make indivdual parameter summaries copyable. I also looked for a way to define project-wide variables, with no success.

For example, dozens of price conversion methods share a "Price" input parameter or a "RoundingMethod" parameter, whose definition does not change based on the specific module. I would like to reuse, for example, %API.RoundingType% enumeration indicating how to round the converted price." instead of copying that string to every occurrence of the RoundingMethod parameter summary.

Any suggestions?

Thank you,

Mike

2 comments

Please sign in to leave a comment.