Commit 6dc2739d authored by Vinicius Jarina's avatar Vinicius Jarina Committed by GitHub
Browse files

Update index.html

Fixed `AssemblyName.exe` => `AssemblyName`
parent 7227ab0e
...@@ -202,7 +202,7 @@ You can use/instantiate any .NET class without any previous registration or anno ...@@ -202,7 +202,7 @@ You can use/instantiate any .NET class without any previous registration or anno
To do this just use the method <code>LoadCLRPackage</code> and use the <code>import</code> function inside your Lua script to load the Assembly.</p> To do this just use the method <code>LoadCLRPackage</code> and use the <code>import</code> function inside your Lua script to load the Assembly.</p>
<div class="highlight highlight-csharp"><pre> state.LoadCLRPackage (); <div class="highlight highlight-csharp"><pre> state.LoadCLRPackage ();
state.DoString (@<span class="pl-s1"><span class="pl-pds">"</span> import ('MyAssembly.exe', 'MyNamespace') </span> state.DoString (@<span class="pl-s1"><span class="pl-pds">"</span> import ('MyAssembly', 'MyNamespace') </span>
<span class="pl-s1"> import ('System.Web') <span class="pl-pds">"</span></span>); <span class="pl-s1"> import ('System.Web') <span class="pl-pds">"</span></span>);
<span class="pl-c">// import will load any .NET assembly and they will be available inside the Lua context.</span></pre></div> <span class="pl-c">// import will load any .NET assembly and they will be available inside the Lua context.</span></pre></div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment