Exemplo n.º 1
0
        /// <summary>
        /// Called when the object is about to be serialized.
        /// </summary>
        /// <param name="context">The context.</param>
        /// <param name="model">The model.</param>
        public override void OnSerializing(ISerializationContext context, Data.IModel model)
        {
            _serializationManager.Clear(model.GetType());

            base.OnSerializing(context, model);
        }