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 | PublicStaticSpecifies that all public methods and events should be included in the shape by default.
None = 0Specifies that no methods or events should be included in the shape by default.
PublicInstance = 1Specifies that public instance methods and events should be included in the shape by default.
PublicStatic = 2Specifies 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.