SerializerThe
The Loading Your ClassAs a general rule, if you don’t need any special handling for your class you don’t have to perform the loading of your class information in a separate step. The first call
to When loading your classes you can either load them one by one or load them in groups by specifying an assembly or by specifying a list of To load an individual class you will use one of the They have the following signatures: For loading classes as a group you will use either They have the following signatures: For either sets of functions the parameters are as follows:
Remarks:
Serializing your classWhen you want to take an instance of one of your classes and convert it to an array of bytes, you want to call the As you can see, it is a pretty simple function. You just pass in the instance of your class and you will get the array of bytes that are created using the rules that are loaded for your class. Deserializing your classDeserializing is when you want to take an array of bytes and turn them into an instance of your class. The The parameters are as follows:
ToStringAs mentioned previously, when you work with a class with the MessageSerializer a class that inherits from
GetClassInfoStringOne other method that the
|