Generic result for an API call that has been successful and simply gives an indication of whether it was done properly or not. Usually the result should be true, but some operations may succeed and give an indication that nothing was done. You may use it as a boolean or get additional information by using it as a PropertiesObject.
Gamer.ChangeEmailAddress("a@localhost.localdomain").Then(done => {
if (!done)
throw new YourException("Address not changed");
})
.Catch(ex => {
});
|
| Done (Bundle serverData) |
|
| Done (bool done, Bundle serverData) |
|
Bundle | AsBundle () |
| Gets the underlying Bundle. Dangerous, only use internally, when you want to put the contents of a properties object into an existing bundle. More...
|
|
Dictionary< string, Bundle >.KeyCollection | Keys () |
| Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
|
|
Dictionary< string, Bundle >.Enumerator | GetEnumerator () |
| Allows to browse all keys (might include some that are already exposed as typed properties in the object). More...
|
|
override string | ToString () |
| You may use this to debug what is inside this property object. More...
|
|
string | ToJson () |
| Builds a JSON representation of this object, same as ToString actually. More...
|
|