Пример #1
0
        /// <summary>
        /// Construct from existing AggregationType Id
        /// </summary>
        /// <param name="typeId"></param>

        public AggregationTypeDetail(string key)
        {
            if (!AggregationTypeDetail.TypeKeyDict.ContainsKey(key))
            {
                throw new Exception("Unrecognized Aggregation type key: " + key);
            }

            AggregationTypeDetail at = AggregationTypeDetail.TypeKeyDict[key];

            at.MemberwiseCopy(this);

            return;
        }
Пример #2
0
        /// <summary>
        /// Construct from existing AggregationType
        /// </summary>
        /// <param name="aggType"></param>

        public AggregationTypeDetail(AggregationTypeDetail aggType)
        {
            aggType.MemberwiseCopy(this);
            return;
        }