allow constructor to accept NULL expression

This commit is contained in:
Michael Becker 2020-03-28 22:51:31 -04:00
parent 2ffe792baf
commit a97565009e
No known key found for this signature in database
GPG Key ID: 389DFF5D73781A12

View File

@ -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;