DefaultParameterValueAttribute Class | |
this class is used to mark default parameter values in the middle of a parameter list.
Inheritance Hierarchy
Namespace:
XSharp.Internal
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax SEALED CLASS DefaultParameterValueAttribute INHERIT Attribute
public sealed class DefaultParameterValueAttribute : Attribute
Request Example
View SourceThe DefaultParameterValueAttribute type exposes the following members.
Constructors Properties
| Name | Description |
---|
| Flag | Flag indicating the type of the default parameter |
| Value | Value of the default parameter |
TopRemarks
It is used when compiling in non Core dialects.
And only for parameters that are followed by parameters without default value (because that is not supported by the .Net framework).
The X# compiler will find this attribute at compile time and will insert its value into the argument list.
See Also