CxDeclarationType
Description
- Derived from
-
CxDeclaration abstract
ICxTypeParametersContainer
ICxBaseTypesContainer
ICxTypeUsageProvider
A declaration of a class
, interface
or struct
type:
... class MyType<T> : BaseType where T : Type { #region Region ... #endregion } ... interface MyType... ... struct MyType...
- See also
Public / Methods
AsCodeUnit
4 overloads
Wraps this type declaration in a code unit.
- ValidatingException
-
If name opt is invalid.
Wraps this type declaration in a code unit.
- ValidatingException
-
If name in or usings in is invalid.
Wraps this type declaration in a code unit.
- ValidatingException
-
If name in or usings in is invalid.
Wraps this type declaration in a code unit.
Public / Attributes
Constructors
Returns the constructors that are declared by this type.
Constructors are referenced by instanced of CxExpressionNew.
DefaultConstructor
Returns the default constructor of this type.
If the type does not declare a default constructor explicitly, the implicit default constructor is used. In such a case, the returned CxMemberConstructor will not be included in the list of declared constructors (see Constructors).
MethodGroups
Returns the methods that are declared by this type.
A method group with more than one entry must be disambiguated by signature, see CxExpressionCall and CxXmlDocReference.