Class SerializationInfoExtension
Inheritance
SerializationInfoExtension
Assembly: Libplanet.dll
Syntax
public static class SerializationInfoExtension : object
Methods
|
Improve this Doc
View Source
GetValue<T>(SerializationInfo, String)
Declaration
public static T GetValue<T>(this SerializationInfo info, string name)
Parameters
Type |
Name |
Description |
SerializationInfo |
info |
|
String |
name |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetValueOrDefault<T>(SerializationInfo, String, T)
Declaration
public static T GetValueOrDefault<T>(this SerializationInfo serializationInfo, string name, T defaultValue)
Parameters
Type |
Name |
Description |
SerializationInfo |
serializationInfo |
|
String |
name |
|
T |
defaultValue |
|
Returns
Type Parameters