Пример #1
0
        public void AddOutputItems(ItemGroupInfo outputItems)
        {
            if (_outputItems == null)
            {
                _outputItems = new List <ItemGroupInfo>();
            }

            _outputItems.Add(outputItems);
        }
Пример #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;
 }
Пример #4
0
 private static ItemGroup ConstructItemGroup(ItemGroupInfo itemGroupInfo) =>
 new ItemGroup(
     itemGroupInfo.Name,
     EmptyIfNull(itemGroupInfo.Items?.Select(ConstructItem).OrderBy(OrderItems).ToImmutableList()));