Class Interruption
Represents an interrupt with ID that will jump the trap if the exception is thrown. It can be enabled or disabled on certain processors.
Inheritance
System.Object
Interruption
Namespace: UrlLib
Assembly: UrlLib.dll
Syntax
public class Interruption
Constructors
Interruption(String, Trap, Boolean, Scope, String)
Constructor for a variable of Interruption type
Declaration
[JsonConstructor]
public Interruption(string name, Trap trap, bool isInitiallyActive, Scope scope = Scope.Local, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Interruption name |
Trap | trap | Trap target |
System.Boolean | isInitiallyActive | |
Scope | scope | Scope type |
System.String | description | Description. It will be added like commnet. |
Properties
Description
Description
Declaration
[JsonInclude]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Unique identifier
Declaration
[JsonInclude]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsInitiallyActive
Status at init
Declaration
[JsonInclude]
public bool IsInitiallyActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Name
Declaration
[JsonInclude]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Scope
Scope type
Declaration
[JsonInclude]
public Scope Scope { get; set; }
Property Value
Type | Description |
---|---|
Scope |
Trap
Target trap to be thrown
Declaration
[JsonInclude]
public Trap Trap { get; set; }
Property Value
Type | Description |
---|---|
Trap |
Type
Variable type
Declaration
[JsonInclude]
public TypeVar Type { get; set; }
Property Value
Type | Description |
---|---|
UrlLib.TypeVar |
Methods
CleanName(String)
Declaration
public string CleanName(string replaceString = "_")
Parameters
Type | Name | Description |
---|---|---|
System.String | replaceString |
Returns
Type | Description |
---|---|
System.String |