Exemplo n.º 1
0
        /// <summary>
        /// 集団を消去する
        /// </summary>
        /// <param name="aggregationName">集団名</param>
        /// <returns>消去に成功したかどうか</returns>
        public static bool DeleteAggregation(string aggregationName)
        {
            if (aggregationName == DefaultAggregationName)
            {
                return(false);
            }

            return(Aggregations.Remove(aggregationName));
        }
Exemplo n.º 2
0
 /// <summary>
 /// 集団を消去する
 /// </summary>
 /// <param name="aggregationName">集団名</param>
 /// <returns>消去に成功したかどうか</returns>
 public static bool DeleteAggregation(string aggregationName)
 => aggregationName != DefaultAggregationName && Aggregations.Remove(aggregationName);