Méthode | Description | |
---|---|---|
deserializeJSONToObject ( String json ) : Object |
Deserializes an object from its JSON representation into a .NET object
|
|
fetchForClient ( |
Gets data from an embedded resource in its binary representation
|
|
fetchFromResource ( |
Gets data from an embedded resource in its String representation
|
|
randomNumber ( ) : int |
Generates a cryptographically secure random integer
|
|
randomNumber ( int minValue, int maxValue ) : int |
Generates a random integer within a specified range
|
|
serializeObjectToJSON ( Object obj ) : String |
Serializes an object to a JSON string
|
|
trustedRandomString ( int maxSize ) : string |
Builds a cryptographically secure random String of the size maxSize
|
public static deserializeJSONToObject ( String json ) : Object | ||
json | String | JSON String to be deserialized |
Résultat | Object |
public static fetchForClient ( |
||
assembly | Assembly to search in | |
resourceName | String | Full name of the resource |
Résultat | byte[] |
public static fetchFromResource ( |
||
assembly | Assembly to search in | |
resourceName | String | Full name of the resource |
Résultat | String |
public static randomNumber ( int minValue, int maxValue ) : int | ||
minValue | int | Inclusive minimum value of the requested integer |
maxValue | int | Inclusive maximum value of the requested integer |
Résultat | int |
public static serializeObjectToJSON ( Object obj ) : String | ||
obj | Object | Object to be serialized |
Résultat | String |
public static trustedRandomString ( int maxSize ) : string | ||
maxSize | int | Size of the generated String |
Résultat | string |