Enum MethodShapeFlags
- Namespace
- PolyType
- Assembly
- PolyType.dll
Specifies flags that control what methods should be included in a generated type shape.
[Flags]
public enum MethodShapeFlags
Fields
AllPublic = PublicInstance | PublicStatic
Specifies that both public and static methods should be included in the shape.
None = 0
Specifies that no methods should be included in the shape, except those explicitly annotated with PropertyShapeAttribute.
PublicInstance = 1
Specifies that public instance methods should be included in the shape.
PublicStatic = 2
Specifies that public static methods should be included in the shape.
Remarks
This type 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 annotations.