From a97565009ea266e56d580ac392b7a3d1b29a91b4 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sat, 28 Mar 2020 22:51:31 -0400 Subject: [PATCH] allow constructor to accept NULL expression --- MBS.Framework/Logic/Variable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MBS.Framework/Logic/Variable.cs b/MBS.Framework/Logic/Variable.cs index d548309..016d729 100644 --- a/MBS.Framework/Logic/Variable.cs +++ b/MBS.Framework/Logic/Variable.cs @@ -39,7 +39,7 @@ namespace MBS.Framework.Logic public string Name { get; set; } = null; public Expression Expression { get; set; } = null; - public Variable(string name, Expression expression) + public Variable(string name, Expression expression = null) { Name = name; Expression = expression;