C# Class Sanguosha.Core.Utils.ObjectInfo

Helper class encapsulating both the object and the nullable state flag.
Show file Open project: RagingBigFemaleBird/sgs Class Usage Examples

Protected Properties

Property Type Description
nullable bool
obj object

Public Methods

Method Description
ObjectInfo ( object obj ) : System

Constructor, defaulting nullable to false.

ObjectInfo ( object obj, bool nullable ) : System

Constructor.

Method Details

ObjectInfo() public method

Constructor, defaulting nullable to false.
public ObjectInfo ( object obj ) : System
obj object The object to serialize.
return System

ObjectInfo() public method

Constructor.
public ObjectInfo ( object obj, bool nullable ) : System
obj object The object to serialize.
nullable bool The nullable state.
return System

Property Details

nullable protected property

protected bool nullable
return bool

obj protected property

protected object obj
return object