value property

int value

Gets the enumeration value as int. return The value.

Implementation

int get value {
    	switch (this) {
      	case LicenseError.success:
        	return 0;
      	case LicenseError.insufficientBuffer:
        	return -1;
      	case LicenseError.objectDoesNotExist:
        	return -2;
      	case LicenseError.base:
        	return -100;
      	case LicenseError.minimum:
        	return -999;
      	case LicenseError.invalidHandle:
        	return -101;
      	case LicenseError.invalidParameter:
        	return -102;
      	case LicenseError.licenseNotFound:
        	return -103;
      	case LicenseError.invalidLicense:
        	return -104;
      	case LicenseError.expiredLicense:
        	return -105;
      	case LicenseError.invalidHardwareId:
        	return -106;
      	case LicenseError.alreadyFulfilled:
        	return -107;
      	case LicenseError.moduleError:
        	return -108;
      	case LicenseError.writeError:
        	return -109;
      	case LicenseError.insufficientLicenseCredits:
        	return -110;
      	case LicenseError.invalidSerial:
        	return -111;
      	case LicenseError.invalidCredentials:
        	return -112;
      	case LicenseError.revokedLicense:
        	return -113;
      	case LicenseError.blockedLicense:
        	return -114;
      	case LicenseError.unreachableServer:
        	return -115;
      	case LicenseError.licenseOtherError:
        	return -116;
      	case LicenseError.missingFile:
        	return -117;
      	case LicenseError.deviceNotCompatible:
        	return -118;
      	case LicenseError.activationFailed:
        	return -119;
      	case LicenseError.serviceUnavailable:
        	return -120;
      	case LicenseError.notRenewable:
        	return -121;
      	case LicenseError.digestInvalid:
        	return -122;
      	case LicenseError.productUnavailable:
        	return -123;
      	case LicenseError.unauthorizedAction:
        	return -124;
      	case LicenseError.preBlockedLicense:
        	return -125;
	}
  	}