Static class for serializing objects to binary files
More...
|
| static bool | CanWrite (string filename) |
| | Determine whether we can write our data to the disk More...
|
| |
| static ISerializable | Deserialize (string filename) |
| | Deserialize an object from a binary file More...
|
| |
| static void | Serialize (this ISerializable object_to_serialize, string filename) |
| | Serialize the specified object to a binary file More...
|
| |
| static bool | Should (IMapping user_mapping, IMapping item_mapping) |
| | Determine from the mapping objects whether we should serialize the data or not More...
|
| |
Static class for serializing objects to binary files
| static bool CanWrite |
( |
string |
filename | ) |
|
|
inlinestatic |
Determine whether we can write our data to the disk
- Returns
true if we can write to filename; otherwise, false
- Parameters
-
| filename | name of the file to write to |
| static ISerializable Deserialize |
( |
string |
filename | ) |
|
|
inlinestatic |
Deserialize an object from a binary file
- Parameters
-
| filename | name of the file to load from |
| static void Serialize |
( |
this ISerializable |
object_to_serialize, |
|
|
string |
filename |
|
) |
| |
|
inlinestatic |
Serialize the specified object to a binary file
- Parameters
-
| object_to_serialize | object to serialize |
| filename | name of the file to save to |
Determine from the mapping objects whether we should serialize the data or not
- Returns
true if we should serialize; otherwise, false
- Parameters
-
| user_mapping | user ID mapping |
| item_mapping | item ID mapping |
The documentation for this class was generated from the following file: