C# Expression

Pågående Publicerat 6 år sedan Betalades vid leverans
Pågående Betalades vid leverans

Hi guys, im looking for someone that is familiar with the Expression class in C#.

Need help to create an expression to get the values from a nested JObject.

Class Test

{

public string id { get; set; }

public JObject Data { get; set; }

}

Lets say the first [url removed, login to view] in the List<Test> is

{

'code' : 'Item1',

'amount': [{'min':5,'max':10},{'min':50,'max':100}]

}

This expression below is a correct expression to obtain value from the [url removed, login to view]

{[url removed, login to view]("Code").Value}

Codes i used to produce the above expression

Expression dataField = [url removed, login to view](pe, "Data");

propertyExp =

[url removed, login to view](

[url removed, login to view](dataField, "Property", null, [url removed, login to view]([url removed, login to view]))

, "Value");

But how can i write an expression to work with the 'amount' field?

Thanks in advance

.NET C#-programmering

Projekt-id: #15221195

About the project

7 offerter Distansprojekt Aktivt 6 år sedan

Tilldelades:

ig149

I will make you the project just like your requirements, in a short period of time. I have done many projects related to your requirements because I am a pro in software development. Relevant Skills and Experience c# Mer

$12 SGD inom 1 dag
(29 omdömen)
4.7
JamesTFreelance

I can give you the solution if you hire me within a little bit of time. I know how to get the min, max values from 'amount'. Relevant Skills and Experience C# programming using Lambda expressions. Proposed Milestones Mer

$20 SGD inom 1 dag
(10 omdömen)
4.5

7 frilansare har lagt bud på i genomsnitt $22 för det här jobbet

vano101

A proposal has not yet been provided

$19 SGD inom 1 dag
(629 omdömen)
6.9
ihshsl

. Relevant Skills and Experience . Stay tuned, I'm still working on this proposal.

$27 SGD inom 1 dag
(1 omdöme)
2.1