C# Class ExoModel.Json.JsonModel

Represents a complete dynamic model based on JSON type and instance data, based on the JSON format used by ExoWeb for sending type and instance data to web clients.
Show file Open project: vc3/ExoModel Class Usage Examples

Public Methods

Method Description
Initialize ( Assembly @assembly, string storagePath, Action onContextCreated = null ) : JsonEntityContext
Initialize ( Assembly @assembly, string @namespace, string storagePath, Action onContextCreated = null ) : JsonEntityContext

Private Methods

Method Description
GetEntityTypes ( Assembly @assembly, string @namespace = null ) : IEnumerable

Method Details

Initialize() public static method

public static Initialize ( Assembly @assembly, string storagePath, Action onContextCreated = null ) : JsonEntityContext
@assembly System.Reflection.Assembly
storagePath string
onContextCreated Action
return JsonEntityContext

Initialize() public static method

public static Initialize ( Assembly @assembly, string @namespace, string storagePath, Action onContextCreated = null ) : JsonEntityContext
@assembly System.Reflection.Assembly
@namespace string
storagePath string
onContextCreated Action
return JsonEntityContext