I have a very simple question, how would you document with xmldoc a method or a property with return type of generic Action or Func.
For example:
/// <summary>
/// Gets or sets the print method. Parameters: file, printer name???
/// </summary>
/// <value>
/// The print method.
/// </value>
public Action<string, string> PrintMethod { get; set; }
Which is the best practices in this case?
If you need to document the parameters of this action, don’t use
Action<string, string>: create a custom delegate instead, and document the parameters of the delegate.