/*----------------------------------------------------------------------------------------*/
		#region Public Methods
		/// <summary>
		/// Wraps the instance in the specified context in a proxy.
		/// </summary>
		/// <param name="context">The context in which the instance was activated.</param>
		/// <returns>A proxy that wraps the instance.</returns>
		public override object Wrap(IContext context)
		{
			var wrapper = new LinFuWrapper(Kernel, context, context.Instance);
			return _factory.CreateProxy(context.Instance.GetType(), wrapper);
		}
        /*----------------------------------------------------------------------------------------*/
        #region Public Methods
        /// <summary>
        /// Wraps the instance in the specified context in a proxy.
        /// </summary>
        /// <param name="context">The context in which the instance was activated.</param>
        /// <returns>A proxy that wraps the instance.</returns>
        public override object Wrap(IContext context)
        {
            var wrapper = new LinFuWrapper(Kernel, context, context.Instance);

            return(_factory.CreateProxy(context.Instance.GetType(), wrapper));
        }