Skip to content

Commit 1079d20

Browse files
Merge pull request #59 from mariloutb/master
correction eval-expression.NET
2 parents 1405f90 + 1abb2d6 commit 1079d20

16 files changed

+39
-41
lines changed

docs2/pages/documentations/eval-execute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ You can specify parameter value to use in the expression from various way:
1010
- Class Member
1111
- Dictionary
1212

13-
Under the hood, the fist time an expression is executed, it's getting compiled and the delegate is stored in the memory before being returned and executed. All future call from the same expression will retrieve the delegate from the memory to optimize the performance.
13+
Under the hood, the first time an expression is executed, it's getting compiled and the delegate is stored in the memory before being returned and executed. All future calls from the same expression will retrieve the delegate from the memory to optimize the performance.
1414

15-
Even with this optimization, if you have to evaluate multiple times the same expression, by example in a for loop, we highly recommend you to use directly the delegate returning from the Compile method instead.
15+
Even with this optimization, if you have to evaluate multiple times the same expression, for example in a for loop, we highly recommend you to use directly the delegate returning from the Compile method instead.
1616

1717
## Execute and return a strongly typed result
1818
You can return the result as a strongly typed type:

docs2/pages/documentations/linq-dynamic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
## Description
44
Extend the IEnumerable<T> and IQueryable<T> interface with methods to use LINQ with dynamic expressions.
55

6-
LINQ (Language Integrated Query) has been introduced in .NET 3.5 and since has been one of the most used features. ORM like Entity Framework takes advantage from this feature and allow you to write type-safe queries.
6+
Since LINQ (Language Integrated Query) has been introduced in .NET 3.5, it has been one of the most used feature. ORM like Entity Framework takes advantage of this feature and allows you to write type-safe queries.
77

8-
The theory wants you only to use type-safe queries. However, the reality requires often you to write LINQ with dynamic query expressions.
8+
In theory, you should only use it to write type-safe queries. However, the reality often requires you to write LINQ with dynamic query expressions.
99

1010
## LINQ Dynamic - Predicate
11-
You can use any LINQ method that support predicate with a dynamic C# expression :
11+
You can use any LINQ method that supports predicate with a dynamic C# expression :
1212

1313
- Deferred
1414
- SkipWhile

docs2/pages/documentations/options.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ context.BindingFlags = BindingFlags.IgnoreCase | context.BindingFlags
1818
## CacheKeyPrefix
1919
Gets or sets the cache key prefix to use to cache compiled delegate in the memory.
2020

21-
> We recommend always to use a different cache key prefix if you modify the options.
21+
> We always recommend to use a different cache key prefix if you modify the options.
2222

2323
### Example
2424
```csharp
@@ -30,9 +30,9 @@ context.CacheKey = Guid.NewGuid().ToString();
3030
## IncludeMemberFromAllParameters
3131
Gets or sets if all members should be included from all parameters.
3232

33-
By default, member are only included when one parameter is specified.
33+
By default, members are only included when one parameter is specified.
3434

35-
> This configuration can be very useful to disable if you execute multiple expression only once, and you believe they will never be re-used.
35+
> This configuration can be very useful to disable if you execute multiple expressions only once, and you believe they will never be reused.
3636
3737
### Example
3838
```csharp
@@ -46,7 +46,7 @@ Eval.Execute<bool>("catPropertyName == dogPropertyName", cat, dog);
4646
## UseCache
4747
Gets or sets if compiled delegate shoud be cached in the memory or not.
4848

49-
> This configuration can be very useful to disable if you execute multiple expression only once, and you believe they will never be re-used.
49+
> This configuration can be very useful to disable if you execute multiple expressions only once, and you believe they will never be reused.
5050
5151
### Example
5252
```csharp
@@ -74,7 +74,7 @@ var newExlusiveOrValue = = context.Eval("2^|3"); // return 1;
7474
```
7575

7676
## Clone
77-
Create a new shallow copy of the current EvalContext
77+
Create a new shallow copy of the current EvalContext.
7878

7979
> Cloning the EvalContext can be useful to copy all options including all types already registered to use it to change only what's required for the expression to evaluate.
8080

docs2/pages/examples/examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
### C# Eval Expression - Examples
44

5-
Almost all examples in this website is available on the C# Eval Expression projects:
5+
Almost all examples in this website are available on the C# Eval Expression projects:
66

7-
- DOWNLOAD the latest source code release
7+
- DOWNLOAD the latest source code released
88
- OPEN the solution (src/Examples.Expressions.Eval.sln)
99

1010
<a class="btn btn-success btn-lg" href="https://github.com/zzzprojects/Eval-Expression.NET/releases" target="_blank" role="button" onclick="ga('send', 'event', { eventAction: 'download'});"><i class="fa fa-cloud-download"></i>&nbsp;Download Examples</a>

docs2/pages/faq/contact-us.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Contact us
22

33
## I have a question! What should I do?
4-
Contact us directly with your questions: info@zzzprojects.com _(recommended)_
4+
Contact us directly with your question: info@zzzprojects.com _(recommended)_
55

66
You can also use the [Issues Tracker](https://github.com/zzzprojects/Eval-Expression.NET/issues).
77

@@ -15,7 +15,7 @@ Contact us directly with your feature: info@zzzprojects.com _(recommended)_
1515

1616
You can also use the project [Issues Tracker](https://github.com/zzzprojects/Eval-Expression.NET/issues).
1717

18-
## I think you forget about my request! What should I do?
19-
We usually get/answer over 20 requests by day. Unfortunately, it's happen!
18+
## I think you forgot about my request! What should I do?
19+
We usually get/answer over 20 requests per day. Unfortunately, it happens!
2020

2121
Just contact us back again, and we will make sure we don't miss it a second time!

docs2/pages/faq/faq-general.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# FAQ General
22

33
## Which Payment method do you support?
4-
We support the following payment method:
4+
We support the following payment methods:
55

66
- PayPal
77
- Check
88
- Bank Transfer
99

1010
## Can I purchase this product from a Reseller?
11-
Yes, just let him know to contact us.
11+
Yes, just let him know how to contact us.
1212

1313
## What's your average SLA response and resolution times?
1414
We try to provide an outstanding support service.

docs2/pages/faq/faq-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Installation
22

33
## How to I Install your product?
4-
It simple, you download it from NuGet and add it to your project.
4+
It's simple, you download it from NuGet and add it to your project.
55

66
More Info: [Tutorials - Installing](installing)
77

docs2/pages/faq/faq-license.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
### What's a developer seat?
66
A developer seat is a developer working for your company and developing code directly with our product.
77

8-
You don't have to purchase developer seat for front-end developer or back-end developer which doesn't use our product API.
8+
You don't have to purchase a developer seat for front-end developer or back-end developer which doesn't use our product API.
99

10-
Since you buy developer seat, you can develop an unlimited amount of projects within your company.
10+
Since you buy a developer seat, you can develop an unlimited amount of projects within your company.
1111

1212
### What's the cost for additional developer seat?
13-
The cost for additional developer seat is usually extremely low. We want to make sure our library is accessible for small and large company.
13+
The cost for an additional developer seat is usually extremely low. We want to make sure our library is accessible for small and large companies.
1414

15-
### Do developer seat are transferable?
15+
### Are developer seats transferable?
1616
Yes, a developer seat can be transferred to any employee within your company.
1717

1818
## Perpertual License
@@ -33,40 +33,38 @@ You can still download and use any version released before the support & upgrade
3333
You will need to renew to use version released after the support & upgrade expiration date.
3434

3535
### How do I renew my License?
36-
We usually start to send renewal mail two months before the support & upgrade expiration date.
36+
We usually start to send renewal mail one month before the support & upgrade expiration date.
3737

3838
If you didn't receive such email, you could contact us directly: info@zzzprojects.com
3939

4040
### Can I have renewal discount?
41-
We provide a 25% discount to early renewal. So anyone renewing before the support & upgrade expiration date automatically get a renewal discount.
41+
We provide a 25% discount to early renewals. So, anyone renewing before the support & upgrade expiration date automatically get a renewal discount.
4242

4343
### I'm too late for early renewal discount! What can I do?
44-
If you are few day late, we still provide early renewal discount.
44+
If you are a few days late, we still provide early renewal discount.
4545

46-
However, if you have few months late, you will need to purchase the library again.
46+
However, if you are a few months late, you will need to purchase the library again.
4747

4848
The best way to find out if you still have access to early renewal discount is by contacting us: info@zzzprojects.com
4949

5050
### Why should I renew?
5151
Renewing your support & upgrade give the following benefits:
5252

5353
- Major version releases and new product features
54-
- Fast support by mail
54+
- Fast support by email
5555
- Protection against price increases during the maintenance term
5656

5757
## Royalty Free
5858

59-
### Can I install Entity Framework Extensions on Client Machine?
59+
### Can I install Entity Framework Extensions on client machine?
6060
Yes, the product is royalty free.
6161

62-
That mean, you paid for developer seat, but customer using your product doesn't have to pay.
62+
That mean, you pay for a developer seat, but the customers using your product doesn't have to pay.
6363

64-
### Is Entity Framework Extensions Royalty Free?
64+
### Is Entity Framework Extensions royalty free?
6565
Yes, the product is royalty free.
6666

67-
This mean, you can develop a project and install it on thousands of clients.
68-
69-
You paid for developer seat within your company.
67+
This mean, you can develop a project and install it on thousands of client machines if you paid for a developer seat within your company.
7068

7169
Some standard royalty free limitations:
7270

docs2/pages/getting-started/licensing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ EvalManager.AddLicense(licenseName, licenseKey);
5959
> The AddLicense must be set before the first call to the library. Otherwise, you will start the evaluation period
6060
6161
## How can I check if my license is valid?
62-
The validate method allow you to know whether your license is valid or not.
62+
The validate method allows you to know whether your license is valid or not.
6363

6464
```csharp
6565
string licenseErrorMessage;

docs2/pages/getting-started/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## What's C# Eval Expression library?
44

5-
Our library is a lightweight expression evaluator that support nearly everything. You can evaluate or compile almost all possible C# expression including:
5+
Our library is a lightweight expression evaluator that supports nearly everything. You can evaluate or compile almost all possible C# expressions including:
66

77
- Anonymous Type
88
- Extension Method

0 commit comments

Comments
 (0)