C# Class MGDF.GamesManager.Model.Entities.JsonEntity

provides a base class for entities loaded from a json file (either on a physical or virtual filesystem)
Mostra file Open project: mrsharpoblunto/MGDF

Protected Properties

Property Type Description
_errorCollection List

Protected Methods

Method Description
DoLoad ( Newtonsoft.Json.Linq.JObject json ) : void
JsonEntity ( ) : System
JsonEntity ( IArchiveFile file ) : System
JsonEntity ( string filename ) : System
Load ( Newtonsoft.Json.Linq.JObject json ) : void
Load ( string filename ) : void

Method Details

DoLoad() protected method

protected DoLoad ( Newtonsoft.Json.Linq.JObject json ) : void
json Newtonsoft.Json.Linq.JObject
return void

JsonEntity() protected method

protected JsonEntity ( ) : System
return System

JsonEntity() protected method

protected JsonEntity ( IArchiveFile file ) : System
file IArchiveFile
return System

JsonEntity() protected method

protected JsonEntity ( string filename ) : System
filename string
return System

Load() protected abstract method

protected abstract Load ( Newtonsoft.Json.Linq.JObject json ) : void
json Newtonsoft.Json.Linq.JObject
return void

Load() protected method

protected Load ( string filename ) : void
filename string
return void

Property Details

_errorCollection protected_oe property

protected List _errorCollection
return List