/// <summary>
		/// Converts to local object
		/// </summary>
		/// <returns>The object.</returns>
		public object ToObject ()
		{
			object obj = null;
			if (CLRObjectProxy.TryFindObject (ObjectId, out obj))
				return obj;
			else
				return new CLRObjectProxy (ObjectId);
		}
Example #2
0
        /// <summary>
        /// Converts to local object
        /// </summary>
        /// <returns>The object.</returns>
        public object ToObject()
        {
            object obj = null;

            if (CLRObjectProxy.TryFindObject(ObjectId, out obj))
            {
                return(obj);
            }
            else
            {
                return(new CLRObjectProxy(ObjectId));
            }
        }