Exemplo n.º 1
0
        /// <summary>
        /// Removes an instance from the registers.
        /// </summary>
        /// <param name="type"></param>
        /// <param name="title"></param>
        /// <returns>True if success, else false.</returns>
        public bool RemoveInstance(string type, string title)
        {
            bool success = false;

            try
            {
                register.RemoveInstance(type, title);
                success = true;
            }
            catch (ArgumentNullException e)
            {
                ExceptionHandler.LogException("Type or titel are null.", e);
            }
            return(success);
        }