MudEngine:
- Minor tweaks to Room.cs for checking file extension validity - Scripting Engine and related classes added to Solution (Files existed but were not a part of solution)
This commit is contained in:
parent
2c9536a02c
commit
06266b7245
3 changed files with 9 additions and 5 deletions
|
@ -60,12 +60,12 @@ namespace MudEngine.Scripting
|
|||
|
||||
return previousProperty.GetValue(Instance, null);
|
||||
}
|
||||
|
||||
/* Dynamic Type Instancing isn't supported in .NET 3.5; Requires 4.0
|
||||
public dynamic GetProperty()
|
||||
{
|
||||
return Instance;
|
||||
}
|
||||
|
||||
*/
|
||||
public object InvokeMethod(string methodName, params object[] parameters)
|
||||
{
|
||||
MethodInfo method = Instance.GetType().GetMethod(methodName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue