Skip to content
C# Formulation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Core
Test
.gitignore
Formulation.sln
README.md

README.md

Formula generation and execution in C#

It makes possible create formulas and execute them. The code contains formula engine and test cases.

Example: Name of the subordinate with the highest number of vacations:

new DataNavigation<StringType>(nameof(TestDataContext.Subordinates),
                               new Where<NumericType, StringType>(
                                       new Equal<NumericType>(
                                               new ReadData<NumericType>(nameof(Person.RemainingVacation)),
                                               new GlobalDataNavigation<NumericType>(
                                                   new DataNavigation<NumericType>(
                                                       nameof(TestDataContext.Subordinates), 
                                                       new Max<NumericType>(nameof(Person.RemainingVacation))))),
                               new First<StringType>(nameof(Person.Name))))
You can’t perform that action at this time.