Context object passed with BuilderConfig to manipulate runtime behaviour.
More...
Inherited by alfa.rt.DefaultRuntimeContext.
Context object passed with BuilderConfig to manipulate runtime behaviour.
◆ compress()
byte [] alfa.rt.RuntimeContext.compress |
( |
byte[] |
bytes | ) |
|
Compress the specified bytes.
- Returns
- The compressed data.
- Parameters
-
◆ decrypt()
byte [] alfa.rt.RuntimeContext.decrypt |
( |
byte[] |
inputData | ) |
|
Decrypt the specified inputData.
- Returns
- The decrypted data.
- Parameters
-
◆ encrypt()
byte [] alfa.rt.RuntimeContext.encrypt |
( |
byte[] |
inputData | ) |
|
Encrypt the specified inputData.
- Returns
- The encrypt data.
- Parameters
-
inputData | Unencrypted data. |
◆ shouldCloneCollectionsOnBuild()
bool alfa.rt.RuntimeContext.shouldCloneCollectionsOnBuild |
( |
| ) |
|
Should dictionary, set, list values be cloned on build to guarantee immutablity.
- Returns
true
, if clone collections on build was alloed, false
otherwise.
◆ shouldValidateOnBuild()
bool alfa.rt.RuntimeContext.shouldValidateOnBuild |
( |
| ) |
|
Should valiation be performed before Build() method starts.
- Returns
true
, if validate on build was allowed, false
otherwise.
◆ uncompress()
byte [] alfa.rt.RuntimeContext.uncompress |
( |
byte[] |
compressedBytes | ) |
|
Uncompress the specified compressedBytes.
- Returns
- The uncompressed data.
- Parameters
-
The documentation for this interface was generated from the following file:
- Alfa.Net.Runtime/src/main/alfa/rt/RuntimeContext.cs