Class Variable
Namespace: UrlLib
Assembly: UrlLib.dll
Syntax
public abstract class Variable
Properties
InitValue
Value
Declaration
public abstract string InitValue { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSignal
Indicates if it is a signal
Declaration
[JsonIgnore]
public bool IsSignal { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Variable name
Declaration
[JsonInclude]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Scope
Variabel scope
Declaration
[JsonInclude]
public Scope Scope { get; set; }
Property Value
Type | Description |
---|---|
Scope |
StoreType
Variable store type
Declaration
[JsonInclude]
public StoreType StoreType { get; set; }
Property Value
Type | Description |
---|---|
StoreType |
Type
Variable type
Declaration
[JsonInclude]
public TypeVar Type { get; set; }
Property Value
Type | Description |
---|---|
UrlLib.TypeVar |
Methods
CleanName(String)
Get the variable name by removing special characters
Declaration
public string CleanName(string replaceString = "_")
Parameters
Type | Name | Description |
---|---|---|
System.String | replaceString | Character to be exchanged for special characters |
Returns
Type | Description |
---|---|
System.String | Name without special characters |