Class MethodModel
Contains basic method (including lambda methods and constructors) attributes.
public sealed class MethodModel
- Inheritance
-
MethodModel
- Extension Methods
Constructors
MethodModel(string)
public MethodModel(string name)
Parameters
name
string
Properties
CustomAttributes
List of additional custom attributes. Doesn't include metadata attributes.
public List<CodeAttribute>? CustomAttributes { get; set; }
Property Value
Modifiers
Gets or sets method modifiers.
public Modifiers Modifiers { get; set; }
Property Value
Name
Gets or sets method name.
public string Name { get; set; }
Property Value
Summary
Gets or sets summary section text for method xml-doc comment.
public string? Summary { get; set; }