Interface IDotNetParameter
The definition of a parameter used in .Net.
Inherited Members
Namespace: CodeFactory.DotNet
Assembly: CodeFactory.DotNet.dll
Syntax
public interface IDotNetParameter : IDotNetModel, IModelStatus, IDotNetAttributes, IParent, ILookup
Properties
| Improve this Doc View SourceDefaultValue
The default value assigned to the parameter. This will be null if the HasDefaultValue property is set to false.
Declaration
IDotNetParameterDefaultValue DefaultValue { get; }
Property Value
Type | Description |
---|---|
IDotNetParameterDefaultValue |
HasDefaultValue
Flag that determines if the parameter has a default value.
Declaration
bool HasDefaultValue { get; }
Property Value
Type | Description |
---|---|
bool |
IsGenericParameter
Flag that determines if the parameter is a generic place holder.
Declaration
bool IsGenericParameter { get; }
Property Value
Type | Description |
---|---|
bool |
IsOptional
Flag that determines if the parameter is optional.
Declaration
bool IsOptional { get; }
Property Value
Type | Description |
---|---|
bool |
IsOut
Flag that determines if the parameter is assigned the out keyword.
Declaration
bool IsOut { get; }
Property Value
Type | Description |
---|---|
bool |
IsParams
Flag that determines if the parameter is an parameter array.
Declaration
bool IsParams { get; }
Property Value
Type | Description |
---|---|
bool |
IsRef
Flag that determines if the parameter is assigned the ref keyword.
Declaration
bool IsRef { get; }
Property Value
Type | Description |
---|---|
bool |
Name
The name of the parameter.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
ParameterType
The data type assigned to the parameter.
Declaration
IDotNetType ParameterType { get; }
Property Value
Type | Description |
---|---|
IDotNetType |