コード例 #1
0
        /// <summary>
        /// Checks if the provided entity is null or not.
        /// </summary>
        /// <param name="e"></param>
        /// <returns>Returns if the provided entity is contained within the all entities list.</returns>
        public bool Exists(Entity e)
        {
            if (e != null)
            {
                return(AllEntities.Contains(e));
            }

            return(false);
        }