Enum MethodShapeFlags
- Namespace
- PolyType
- Assembly
- PolyType.dll
Specifies flags that control what method or event shapes should be included in a type shape.
[Flags]
public enum MethodShapeFlags
Fields
AllPublic = PublicInstance | PublicStatic
Specifies that all public methods and events should be included in the shape by default.
None = 0
Specifies that no methods or events should be included in the shape by default.
PublicInstance = 1
Specifies that public instance methods and events should be included in the shape by default.
PublicStatic = 2
Specifies that public static methods and events should be included in the shape by default.
Remarks
Can only be used to control inclusion of public methods in the shape models. Non-public methods can only be included individually via explicit MethodShapeAttribute or EventShapeAttribute annotations. annotations.