Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
NotifyPropertyChanged ( string propertyName ) : void |
Sends a notification that a property has changed.
|
public Equals ( object obj ) : bool | ||
obj | object | The |
Результат | bool |
public static Load ( Stream stream ) : |
||
stream | Stream | The stream containing the saved GameInfo |
Результат |
public static Load ( string filename ) : |
||
filename | string | The file name of the saved GameInfo |
Результат |
protected NotifyPropertyChanged ( string propertyName ) : void | ||
propertyName | string | Name of the property. |
Результат | void |
public static Parse ( string json ) : |
||
json | string | The json. |
Результат |
public Write ( Stream stream ) : void | ||
stream | Stream | The stream to write to |
Результат | void |
public Write ( string filename ) : void | ||
filename | string | The file name |
Результат | void |