You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion for creating a new Project ThisAssembly.XmlDocs to auto generate a code to access the XML Docs from Classes and Members via code.
This could,
/// <summary>/// Url Helper Utility Class/// </summary>internalstaticclassUrlHelper{/// <summary>/// Check if a string is a valid URL/// </summary>/// <param name="url">The string representation of the Uri.</param>/// <returns>true</returns>publicstaticboolIsValidUrl(stringurl)=>true;/// <summary>/// /// </summary>/// <param name="url"></param>/// <param name="onlyIntranet"></param>/// <returns></returns>publicstaticboolIsValidUrl(stringurl,boolonlyIntranet)=>true;}
Could generate a code like this.
partialclassThisAssembly{publicstaticpartialclassXmlDocs{publicstaticpartialclassUrlHelper{publicconststringSummary="Url Helper Utility Class";publicstaticpartialclassIsValidUrl{publicstaticpartialclassOverloads{publicstaticpartialclassString{publicconststringSummary="Check if a string is a valid URL";publicconststringReturns="true";publicstaticpartialclassParams{publicconststringUrl="The string representation of the Uri.";}}publicstaticpartialclassStringBool{publicconststringSummary="";publicconststringReturns="";publicstaticpartialclassParams{publicconststringUrl="";publicconststringOnlyIntranet="";}}}}}}}
The text was updated successfully, but these errors were encountered:
Seems like this could be bloating the resulting assembly with a whole bunch of strings that would otherwise be easily available by loading the XML alongside the assembly with an API like NuDoq... 🤔
Suggestion for creating a new Project
ThisAssembly.XmlDocs
to auto generate a code to access the XML Docs from Classes and Members via code.This could,
Could generate a code like this.
The text was updated successfully, but these errors were encountered: