public void StartModelBinding(Type type) { _currentModelBinding = new ModelBindingReport() { BoundType = type }; AddDetails(_currentModelBinding); }
public void StartModelBinding(Type type) { _lastBinding = new ModelBindingReport { BoundType = type }; AddDetail(_lastBinding); }
public void EndModelBinding(object target) { if (_currentModelBinding == null) { return; } _currentModelBinding.StoredObject = target; _currentModelBinding.MarkFinished(); _currentModelBinding = null; }