void OnSerializing(StreamingContext context) { IPersistNode persist = _convert as IPersistNode; if (persist != null) { _state = persist.GetState(GetLogger()); } _container = DynamicScriptContainer.GetCachedContainer(_container); }
private void OnDeserialized(StreamingContext context) { _container = DynamicScriptContainer.GetCachedContainer(_container); }