Skip to main content
Commonmark migration
Source Link

###Core

Core

###Expressions

Expressions

###Constant expression

Constant expression

###Unit-testing

Unit-testing

###Invoking expressions

Invoking expressions

###Debug helpers

Debug helpers

###Using data from other expressions

Using data from other expressions

###Example

Example

###Core

###Expressions

###Constant expression

###Unit-testing

###Invoking expressions

###Debug helpers

###Using data from other expressions

###Example

Core

Expressions

Constant expression

Unit-testing

Invoking expressions

Debug helpers

Using data from other expressions

Example

Notice removed Reward existing answer by t3chb0t
Bounty Ended with Pieter Witvoet's answer chosen by t3chb0t
Notice added Reward existing answer by t3chb0t
Bounty Started worth 300 reputation by t3chb0t
Tweeted twitter.com/StackCodeReview/status/1066889439610322945
edited body
Source Link
Heslacher
  • 50.4k
  • 5
  • 81
  • 175

I find this is very easy to test and to extend becuasebecause everything can be covered by unit-tests. Knowing that all components work as expected, it's a piece of cake to put them together so that they can do much bigger things.

I find this is very easy to test and to extend becuase everything can be covered by unit-tests. Knowing that all components work as expected, it's a piece of cake to put them together so that they can do much bigger things.

I find this is very easy to test and to extend because everything can be covered by unit-tests. Knowing that all components work as expected, it's a piece of cake to put them together so that they can do much bigger things.

added 7 characters in body
Source Link
t3chb0t
  • 44.3k
  • 9
  • 84
  • 190
var result = carValueExpression.Invoke(new CarStockExpressionCarStockExpressionContext
{
    // ... general car data
    // other data can be pulled from a db by any business expression
}).Value<double>();
var result = carValueExpression.Invoke(new CarStockExpression
{
    // ... general car data
    // other data can be pulled from a db by any business expression
}).Value<double>();
var result = carValueExpression.Invoke(new CarStockExpressionContext
{
    // ... general car data
    // other data can be pulled from a db by any business expression
}).Value<double>();
edited body
Source Link
t3chb0t
  • 44.3k
  • 9
  • 84
  • 190
Loading
Source Link
t3chb0t
  • 44.3k
  • 9
  • 84
  • 190
Loading