예제 #1
0
        public AstWindowField Update(string path, AstWindowExpression value)
        {
            if (path == _path && value == _value)
            {
                return(this);
            }

            return(new AstWindowField(path, value));
        }
예제 #2
0
 public AstWindowField(string path, AstWindowExpression value)
 {
     _path  = Ensure.IsNotNull(path, nameof(path));
     _value = Ensure.IsNotNull(value, nameof(value));
 }