Skip to content

DiGi.Core.Enums

github-actions[bot] edited this page Jul 15, 2026 · 2 revisions

DiGi.Core.Enums Namespace

Enums

BackgroundTaskStatus Enum

Defines the status of a background task.

public enum BackgroundTaskStatus

Fields

Undefined 0

Undefined

Running 1

Running

Completed 2

Completed

Idle 3

Idle

Failed 4

Failed

CancelableBackgroundTaskStatus Enum

Defines the status of a background task that can be canceled.

public enum CancelableBackgroundTaskStatus

Fields

Undefined 0

Undefined

Running 1

Running

Canceled 2

Canceled

Completed 3

Completed

Idle 4

Idle

Failed 5

Failed

CountryCode Enum

Defines the ISO country codes and their corresponding values.

public enum CountryCode

Fields

Undefined -1

Undefined

AF 1

Afghanistan

AX 2

Åland Islands

AL 3

Albania

DZ 4

Algeria

AS 5

American Samoa

AD 6

Andorra

AO 7

Angola

AI 8

Anguilla

AQ 9

Antarctica

AG 10

Antigua and Barbuda

AR 11

Argentina

AM 12

Armenia

AW 13

Aruba

AU 14

Australia

AT 15

Austria

AZ 16

Azerbaijan

BS 17

Bahamas

BH 18

Bahrain

BD 19

Bangladesh

BB 20

Barbados

BY 21

Belarus

BE 22

Belgium

BZ 23

Belize

BJ 24

Benin

BM 25

Bermuda

BT 26

Bhutan

BO 27

Bolivia (Plurinational State of)

BQ 28

Bonaire, Sint Eustatius and Saba

BA 29

Bosnia and Herzegovina

BW 30

Botswana

BV 31

Bouvet Island

BR 32

Brazil

IO 33

British Indian Ocean Territory

BN 34

Brunei Darussalam

BG 35

Bulgaria

BF 36

Burkina Faso

BI 37

Burundi

CV 38

Cabo Verde

KH 39

Cambodia

CM 40

Cameroon

CA 41

Canada

KY 42

Cayman Islands

CF 43

Central African Republic

TD 44

Chad

CL 45

Chile

CN 46

China

CX 47

Christmas Island

CC 48

Cocos (Keeling) Islands

CO 49

Colombia

KM 50

Comoros

CG 51

Congo

CD 52

Congo (Democratic Republic of the)

CK 53

Cook Islands

CR 54

Costa Rica

CI 55

Côte d'Ivoire

HR 56

Croatia

CU 57

Cuba

CW 58

Curaçao

CY 59

Cyprus

CZ 60

Czechia

DK 61

Denmark

DJ 62

Djibouti

DM 63

Dominica

DO 64

Dominican Republic

EC 65

Ecuador

EG 66

Egypt

SV 67

El Salvador

GQ 68

Equatorial Guinea

ER 69

Eritrea

EE 70

Estonia

ET 71

Ethiopia

FK 72

Falkland Islands (Malvinas)

FO 73

Faroe Islands

FJ 74

Fiji

FI 75

Finland

FR 76

France

GF 77

French Guiana

PF 78

French Polynesia

TF 79

French Southern Territories

GA 80

Gabon

GM 81

Gambia

GE 82

Georgia

DE 83

Germany

GH 84

Ghana

GI 85

Gibraltar

GR 86

Greece

GL 87

Greenland

GD 88

Grenada

GP 89

Guadeloupe

GU 90

Guam

GT 91

Guatemala

GG 92

Guernsey

GN 93

Guinea

GW 94

Guinea-Bissau

GY 95

Guyana

HT 96

Haiti

HM 97

Heard Island and McDonald Islands

VA 98

Holy See

HN 99

Honduras

HK 100

Hong Kong

HU 101

Hungary

IS 102

Iceland

IN 103

India

ID 104

Indonesia

IR 105

Iran (Islamic Republic of)

IQ 106

Iraq

IE 107

Ireland

IM 108

Isle of Man

IL 109

Israel

IT 110

Italy

JM 111

Jamaica

JP 112

Japan

JE 113

Jersey

JO 114

Jordan

KZ 115

Kazakhstan

KE 116

Kenya

KI 117

Kiribati

KP 118

Korea (Democratic People's Republic of)

KR 119

Korea (Republic of)

KW 120

Kuwait

KG 121

Kyrgyzstan

LA 122

Lao People's Democratic Republic

LV 123

Latvia

LB 124

Lebanon

LS 125

Lesotho

LR 126

Liberia

LY 127

Libya

LI 128

Liechtenstein

LT 129

Lithuania

LU 130

Luxembourg

MO 131

Macao

MK 132

Macedonia (the former Yugoslav Republic of)

MG 133

Madagascar

MW 134

Malawi

MY 135

Malaysia

MV 136

Maldives

ML 137

Mali

MT 138

Malta

MH 139

Marshall Islands

MQ 140

Martinique

MR 141

Mauritania

MU 142

Mauritius

YT 143

Mayotte

MX 144

Mexico

FM 145

Micronesia (Federated States of)

MD 146

Moldova (Republic of)

MC 147

Monaco

MN 148

Mongolia

ME 149

Montenegro

MS 150

Montserrat

MA 151

Morocco

MZ 152

Mozambique

MM 153

Myanmar

NA 154

Namibia

NR 155

Nauru

NP 156

Nepal

NL 157

Netherlands

NC 158

New Caledonia

NZ 159

New Zealand

NI 160

Nicaragua

NE 161

Niger

NG 162

Nigeria

NU 163

Niue

NF 164

Norfolk Island

MP 165

Northern Mariana Islands

NO 166

Norway

OM 167

Oman

PK 168

Pakistan

PW 169

Palau

PS 170

Palestine, State of

PA 171

Panama

PG 172

Papua New Guinea

PY 173

Paraguay

PE 174

Peru

PH 175

Philippines

PN 176

Pitcairn

PL 177

Poland

PT 178

Portugal

PR 179

Puerto Rico

QA 180

Qatar

RE 181

Réunion

RO 182

Romania

RU 183

Russian Federation

RW 184

Rwanda

BL 185

Saint Barthélemy

SH 186

Saint Helena, Ascension and Tristan da Cunha

KN 187

Saint Kitts and Nevis

LC 188

Saint Lucia

MF 189

Saint Martin (French part)

PM 190

Saint Pierre and Miquelon

VC 191

Saint Vincent and the Grenadines

WS 192

Samoa

SM 193

San Marino

ST 194

Sao Tome and Principe

SA 195

Saudi Arabia

SN 196

Senegal

RS 197

Serbia

SC 198

Seychelles

SL 199

Sierra Leone

SG 200

Singapore

SX 201

Sint Maarten (Dutch part)

SK 202

Slovakia

SI 203

Slovenia

SB 204

Solomon Islands

SO 205

Somalia

ZA 206

South Africa

GS 207

South Georgia and the South Sandwich Islands

SS 208

South Sudan

ES 209

Spain

LK 210

Sri Lanka

SD 211

Sudan

SR 212

Suriname

SJ 213

Svalbard and Jan Mayen

SZ 214

Swaziland

SE 215

Sweden

CH 216

Switzerland

SY 217

Syrian Arab Republic

TW 218

Taiwan, Province of China[a]

TJ 219

Tajikistan

TZ 220

Tanzania, United Republic of

TH 221

Thailand

TL 222

Timor-Leste

TG 223

Togo

TK 224

Tokelau

TO 225

Tonga

TT 226

Trinidad and Tobago

TN 227

Tunisia

TR 228

Turkey

TM 229

Turkmenistan

TC 230

Turks and Caicos Islands

TV 231

Tuvalu

UG 232

Uganda

UA 233

Ukraine

AE 234

United Arab Emirates

GB 235

United Kingdom of Great Britain and Northern Ireland

US 236

United States of America

UM 237

United States Minor Outlying Islands

UY 238

Uruguay

UZ 239

Uzbekistan

VU 240

Vanuatu

VE 241

Venezuela (Bolivarian Republic of)

VN 242

Viet Nam

VG 243

Virgin Islands (British)

VI 244

Virgin Islands (U.S.)

WF 245

Wallis and Futuna

EH 246

Western Sahara

YE 247

Yemen

ZM 248

Zambia

ZW 249

Zimbabwe

DataType Enum

Defines the supported data types within the DiGi.Core system.

public enum DataType

Fields

Undefined 0

Undefined

SByte 1

Signed 8-bit integer

Byte 2

Unsigned 8-bit integer

Short 3

Signed 16-bit integer

UShort 4

Unsigned 16-bit integer

Int 5

Signed 32-bit integer

UInt 6

Unsigned 32-bit integer

Long 7

Signed 64-bit integer

ULong 8

Unsigned 64-bit integer

Float 9

Signed 4 bytes float

Double 10

Signed 8 bytes double

Decimal 11

Signed 16 bytes decimal

DateTime 12

DateTime

Bool 13

Bool

String 14

String

Guid 15

Guid

Enum 16

Enum

ValueType 17

Struct

JsonNode 18

JsonNode

Object 19

Object

SerializableObject 20

Serializable Object

Other 21

Other

NumberComparisonType Enum

Enumerator defining the way in which two numbers are compared.

public enum NumberComparisonType

Fields

Equals 0

Numer Equals

NotEquals 1

Number Not Equals

Greater 2

Number Greater Than

Less 3

Number Less Than

LessOrEquals 4

Number Less Than Or Equals

GreaterOrEquals 5

Number Greater Than Or Equals

ResultType Enum

Defines the result status of an operation.

public enum ResultType

Fields

Undefined 0

Undefined

Succeeded 1

Succeeded

Failed 2

Failed

Canceled 3

Canceled

RoundingMethod Enum

Defines the method used for rounding numbers.

public enum RoundingMethod

Fields

Undefined 0

Undefined

Ceiling 1

Ceiling

Nearest 2

Nearest

Truncate 3

Truncate

TextComparisonType Enum

Enumerator defining the way in which two strings are compared.

public enum TextComparisonType

Fields

Equals 0

Text Equals

NotEquals 1

Text Not Equals

Contains 2

Text Contains

NotContains 3

Text Not Contains

StartsWith 4

Text Starts With

EndsWith 5

Text Ends With

NotStartsWith 6

Text Not Starts With

NotEndsWith 7

Text Not Ends With

UTC Enum

Coordinated Universal Time (UTC) Time Zones

public enum UTC

Fields

Undefined 0

Undefined

Minus1200 1

UTC−12:00

Minus1100 2

UTC−11:00

Minus1000 3

UTC−10:00

Minus0930 4

UTC−09:30

Minus0900 5

UTC−09:00

Minus0800 6

UTC−08:00

Minus0700 7

UTC−07:00

Minus0600 8

UTC−06:00

Minus0500 9

UTC−05:00

Minus0400 10

UTC−04:00

Minus0330 11

UTC−03:30

Minus0300 12

UTC−03:00

Minus0200 13

UTC−02:00

Minus0100 14

UTC−01:00

PlusMinus0000 15

UTC±00:00

Plus0100 16

UTC+01:00

Plus0200 17

UTC+02:00

Plus0300 18

UTC+03:00

Plus0330 19

UTC+03:30

Plus0400 20

UTC+04:00

Plus0430 21

UTC+04:30

Plus0500 22

UTC+05:00

Plus0530 23

UTC+05:30

Plus0545 24

UTC+05:45

Plus0600 25

UTC+06:00

Plus0630 26

UTC+06:30

Plus0700 27

UTC+07:00

Plus0800 28

UTC+08:00

Plus0845 29

UTC+08:45

Plus0900 30

UTC+09:00

Plus0930 31

UTC+09:30

Plus1000 32

UTC+10:00

Plus1030 33

UTC+10:30

Plus1100 34

UTC+11:00

Plus1200 35

UTC+12:00

Plus1245 36

UTC+12:45

Plus1300 37

UTC+13:00

Plus1400 38

UTC+14:00

Clone this wiki locally