Skip to content

Commit 09afe37

Browse files
committed
Merge branch 'release/3.819.0'
2 parents effc6ca + 426df1d commit 09afe37

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project>
33
<!-- These properties will be shared for all projects -->
44
<PropertyGroup>
5-
<VersionPrefix>3.818.0</VersionPrefix>
5+
<VersionPrefix>3.819.0</VersionPrefix>
66
<VersionSuffix>
77
</VersionSuffix>
88
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>

src/VirtoCommerce.CoreModule.Core/Conditions/ConditionTree.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@ protected ConditionTree()
2323
public ConditionTree WithAvailableChildren(params IConditionTree[] availableChildren)
2424
{
2525
ArgumentNullException.ThrowIfNull(availableChildren);
26-
AvailableChildren.AddRange(availableChildren);
26+
AvailableChildren.AddRange(availableChildren.Where(c => c != null));
2727
return this;
2828
}
2929

3030
[Obsolete("Use WithAvailableChildren()", DiagnosticId = "VC0010", UrlFormat = "https://docs.virtocommerce.org/products/products-virto3-versions/")]
3131
public ConditionTree WithAvailConditions(params IConditionTree[] availConditions)
3232
{
3333
ArgumentNullException.ThrowIfNull(availConditions);
34-
AvailableChildren.AddRange(availConditions);
34+
AvailableChildren.AddRange(availConditions.Where(c => c != null));
3535
return this;
3636
}
3737

3838
public ConditionTree WithChildren(params IConditionTree[] children)
3939
{
4040
ArgumentNullException.ThrowIfNull(children);
41-
Children.AddRange(children);
41+
Children.AddRange(children.Where(c => c != null));
4242
return this;
4343
}
4444

4545
[Obsolete("Use WithChildren()", DiagnosticId = "VC0010", UrlFormat = "https://docs.virtocommerce.org/products/products-virto3-versions/")]
4646
public ConditionTree WithChildrens(params IConditionTree[] childrenCondition)
4747
{
4848
ArgumentNullException.ThrowIfNull(childrenCondition);
49-
Children.AddRange(childrenCondition);
49+
Children.AddRange(childrenCondition.Where(c => c != null));
5050
return this;
5151
}
5252

src/VirtoCommerce.CoreModule.Web/module.manifest

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<id>VirtoCommerce.Core</id>
4-
<version>3.818.0</version>
4+
<version>3.819.0</version>
55
<version-tag />
66
<platformVersion>3.877.0</platformVersion>
77
<title>Commerce core module</title>

0 commit comments

Comments
 (0)