Is it possible to include custom attributes in Sandcastle documentation?

StackOverflow https://stackoverflow.com/questions/18586636

  •  27-06-2022
  •  | 
  •  

سؤال

Is it possible to include custom attributes in Sandcastle documentation?

For example, consider this c# method:

public void ExampleMethod
(
   [Required] string input1,
   [DefaultValue("example")] string input2
)

Is there any way to make Sandcastle documentation output that input1 has the required attribute?

لا يوجد حل صحيح

نصائح أخرى

This works for attributes and classes, I haven't tried it on properties and fields yet. The description suggests it should work.

It might be required to turn on "Internal members" on too.

Sandcastle visibility settings Unfortunately the documented attributes are not linked.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top