Updated Scripting API Samples (markdown)

Kasey Uhlenhuth 2015-11-16 08:49:01 -08:00
Родитель 3cee0bea1f
Коммит dd83d0461b
1 изменённых файлов: 1 добавлений и 1 удалений

@ -58,7 +58,7 @@ var result = await CSharpScript.EvaluateAsync("Sqrt(2)",
``` ```
### <a name="parameter"></a>Parameterize a script ### <a name="parameter"></a>Parameterize a script
> **Note**: this currently doesn't work due to a [known bug](https://github.com/dotnet/roslyn/issues/6101). A workaround would be to define Globals in a .dll and #r the .dll. > **Note**: this currently doesn't work inside the REPL due to a [known bug](https://github.com/dotnet/roslyn/issues/6101). A workaround would be to define Globals in a .dll and #r the .dll.
```csharp ```csharp
public class Globals public class Globals
{ {