Method | Description | |
---|---|---|
Equals ( object obj ) : bool |
Determines whether the specified System.Object, is equal to this instance.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
Load ( Stream stream ) : |
Loads the game from the specified stream
|
|
Load ( string filename ) : |
Loads the game info from the specified file
|
|
Parse ( string json ) : |
Parses the specified json.
|
|
Write ( Stream stream ) : void |
Writes the game info to the specified stream
|
|
Write ( string filename ) : void |
Writes this game info out to the specified file
|
Method | Description | |
---|---|---|
NotifyPropertyChanged ( string propertyName ) : void |
Sends a notification that a property has changed.
|
public Equals ( object obj ) : bool | ||
obj | object | The |
return | bool |
public static Load ( Stream stream ) : |
||
stream | Stream | The stream containing the saved GameInfo |
return |
public static Load ( string filename ) : |
||
filename | string | The file name of the saved GameInfo |
return |
protected NotifyPropertyChanged ( string propertyName ) : void | ||
propertyName | string | Name of the property. |
return | void |
public static Parse ( string json ) : |
||
json | string | The json. |
return |
public Write ( Stream stream ) : void | ||
stream | Stream | The stream to write to |
return | void |
public Write ( string filename ) : void | ||
filename | string | The file name |
return | void |