Skip to content

Commit 06d53b7

Browse files
Merge pull request #4 from delegateas/dev
Release
2 parents 32af083 + b0adf9c commit 06d53b7

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

ExpressionEngine/FlowRunnerDependencyExtension.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public static void AddExpressionEngine(this IServiceCollection services)
1919
AddStringFunctions(services);
2020
AddCollectionFunction(services);
2121
AddConversionFunction(services);
22+
AddLogicalComparisonFunctions(services);
2223

2324
services.AddTransient<IFunction, LengthFunction>();
2425
services.AddTransient<IFunction, GreaterFunction>();
@@ -68,5 +69,18 @@ private static void AddConversionFunction(IServiceCollection services)
6869
services.AddTransient<IFunction, DataUriFunction>();
6970
services.AddTransient<IFunction, DataUriToBinaryFunction>();
7071
}
72+
73+
private static void AddLogicalComparisonFunctions(IServiceCollection services)
74+
{
75+
services.AddTransient<IFunction, AndFunction>();
76+
services.AddTransient<IFunction, EqualFunction>();
77+
services.AddTransient<IFunction, GreaterFunction>();
78+
services.AddTransient<IFunction, GreaterOrEqualsFunction>();
79+
services.AddTransient<IFunction, IfFunction>();
80+
services.AddTransient<IFunction, LessFunction>();
81+
services.AddTransient<IFunction, LessOrEqualsFunction>();
82+
services.AddTransient<IFunction, NotFunction>();
83+
services.AddTransient<IFunction, OrFunction>();
84+
}
7185
}
7286
}

0 commit comments

Comments
 (0)