/// <summary> /// Default constructor /// </summary> /// <param name="manager">JsonMapperManager object</param> public JsonMapperConfiguration(JsonMapperManager manager) { if (manager == null) { throw new ArgumentNullException("manager"); } _manager = manager; Entries = new List <JsonMapperEntry <T> >(); }
/// <summary> /// Default constructor /// </summary> /// <param name="manager">JsonMapperManager object</param> /// <param name="dataContext">DataContext object</param> public JsonMapperConfiguration(JsonMapperManager manager, DataContext dataContext) { if (manager == null) { throw new ArgumentNullException("manager"); } if (dataContext == null) { throw new ArgumentNullException("dataContext"); } _manager = manager; _dataContext = dataContext; Entries = new List <JsonMapperEntry <T> >(); }