Ejemplo n.º 1
0
        public static webModel.AggregationItem ToWebModel(this coreModel.AggregationItem item)
        {
            var result = new webModel.AggregationItem();

            result.InjectFrom(item);
            return(result);
        }
        public static webModel.AggregationItem ToWebModel(this coreModel.AggregationItem item)
        {
            var result = new webModel.AggregationItem();
            result.InjectFrom(item);

            if (item.Labels != null)
            {
                result.Labels = item.Labels.Select(ToWebModel).ToArray();
            }

            return result;
        }
        public static webModel.AggregationItem ToWebModel(this coreModel.AggregationItem item)
        {
            var result = new webModel.AggregationItem();

            result.InjectFrom(item);

            if (item.Labels != null)
            {
                result.Labels = item.Labels.Select(ToWebModel).ToArray();
            }

            return(result);
        }
 public static webModel.AggregationItem ToWebModel(this coreModel.AggregationItem item)
 {
     var result = new webModel.AggregationItem();
     result.InjectFrom(item);
     return result;
 }