Interface ICsParameter
The definition of a parameter used in C#.
Inherited Members
Namespace: CodeFactory.WinVs.Models.CSharp
Assembly: CodeFactory.WinVs.dll
Syntax
public interface ICsParameter : ICsModel, IModelStatus, ICsAttributes, IParent, ILookup
Properties
DefaultValue
The default value assigned to the parameter. This will be null if the HasDefaultValue property is set to false.
Declaration
CsParameterDefaultValue DefaultValue { get; }
Property Value
Type | Description |
---|---|
CsParameterDefaultValue |
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
CsType ParameterType { get; }
Property Value
Type | Description |
---|---|
CsType |