Skip to content

Conversation

@JamesVaughan
Copy link
Member

No description provided.

The select operator acts like an if statement with (condition ? resultIfTrue : resultIfFalse).
@JamesVaughan JamesVaughan marked this pull request as ready for review March 20, 2022 09:22
@JamesVaughan JamesVaughan merged commit 68a0778 into TravelModellingGroup:dev Mar 21, 2022
@JamesVaughan JamesVaughan deleted the IntOperators branch March 21, 2022 15:02
JamesVaughan added a commit to JamesVaughan/XTMF2 that referenced this pull request Apr 16, 2022
* Implemented integer binary operators for +, -, *, /, <, <=, >, >=, ==, and !=.
* Added Select operator.
  * The select operator acts like an if statement with (condition ? resultIfTrue : resultIfFalse).
* Implemented And and Or operators for booleans.
JamesVaughan added a commit that referenced this pull request Jan 16, 2026
* Refactored argument null checks to use new methods. (#115)

* Added CreateOrGet methods for Users, Projects, and Model Systems. (#116)

Added static analysis hints on nullable attribute parameters.

* Renamed XTMF2.Client to XTMF2.RunServer (#117)

* Renamed XTMF2.Client to XTMF2.RunServer to better describe what it is used for.

* Started to extract out parameters so they could be either a simple string value or become an expression.

* Added scripted parameter stub. (#118)

* Implemented literals for parameter expressions. (#119)

* Implement Parameter Variables (#120)

* Added an implementation for including variables.

* Remove the architecture diagram from the XTMF2 repo. (#121)

* Mono operators (#122)

* Implemented brackets and not.

* Implemented Select and Binary Operators (#123)

* Implemented integer binary operators for +, -, *, /, <, <=, >, >=, ==, and !=.
* Added Select operator.
  * The select operator acts like an if statement with (condition ? resultIfTrue : resultIfFalse).
* Implemented And and Or operators for booleans.

* Implemented Exponent Operator. (#124)

* Implemented Exponent Operator.

* Update readme to reference that we use .Net 6.0. (#125)

Update CL/CI to compile Release builds.

* Implemented additional unit tests to make sure that you can not accidentally mix types. (#126)

* Added the ability to add other variable types to strings. (#127)

* Implemented being able to create ScriptedParameters from the model system session. (#128)

Currently this implementation does not support variables in the expression.

* Update .Net to Version 8 (#137)

* Update to .Net 8

* Update CL/CI compiler

* .Net 10 (#138)

* Updated to .Net 10

Removed API breaking changes for UnitTest framework

* Updated unit tests to remove all warnings.

* Updated workflow to use Windows 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants