Quantcast
Channel: Microsoft "Roslyn" CTP forum
Viewing all articles
Browse latest Browse all 504

Is it possible to copy a value of the local variable xHost from the host application to the local variable xRoslyn inside the Roslyn script?

$
0
0

I can copy a value of the variable xRoslyn from a Roslyn script to xHost in the host application by using "Execute" function.

int xHost = session.Execute<int>("xRoslyn");

Is it possible to do something opposite?

Something like this ...

session.SetRoslynVariable<int>( "xRoslyn", xHost );


Viewing all articles
Browse latest Browse all 504

Trending Articles