Exemple #1
0
        public void AddOutputItems(ItemGroupInfo outputItems)
        {
            if (_outputItems == null)
            {
                _outputItems = new List <ItemGroupInfo>();
            }

            _outputItems.Add(outputItems);
        }
Exemple #2
0
        public void AddParameterItems(ItemGroupInfo parameterItems)
        {
            if (_parameterItems == null)
            {
                _parameterItems = new List <ItemGroupInfo>();
            }

            _parameterItems.Add(parameterItems);
        }
 public ItemActionInfo(bool isAddition, ItemGroupInfo itemGroup, DateTime time)
 {
     IsAddition = isAddition;
     ItemGroup  = itemGroup;
     Time       = time;
 }
Exemple #4
0
 private static ItemGroup ConstructItemGroup(ItemGroupInfo itemGroupInfo) =>
 new ItemGroup(
     itemGroupInfo.Name,
     EmptyIfNull(itemGroupInfo.Items?.Select(ConstructItem).OrderBy(OrderItems).ToImmutableList()));