minor cleanup
This commit is contained in:
parent
ce2a7b1612
commit
c9d34ca828
|
@ -9,11 +9,11 @@ namespace BizHawk.Client.Common
|
||||||
{
|
{
|
||||||
private readonly LuaFunction _function;
|
private readonly LuaFunction _function;
|
||||||
|
|
||||||
public NamedLuaFunction(LuaFunction function, string theevent, Action<string> logCallback, Lua lua, string name = null)
|
public NamedLuaFunction(LuaFunction function, string theEvent, Action<string> logCallback, Lua lua, string name = null)
|
||||||
{
|
{
|
||||||
_function = function;
|
_function = function;
|
||||||
Name = name ?? "Anonymous";
|
Name = name ?? "Anonymous";
|
||||||
Event = theevent;
|
Event = theEvent;
|
||||||
Lua = lua;
|
Lua = lua;
|
||||||
Guid = Guid.NewGuid();
|
Guid = Guid.NewGuid();
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ namespace BizHawk.Client.Common
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
public Guid Guid { get; private set; }
|
public Guid Guid { get; }
|
||||||
|
|
||||||
public string Name { get; }
|
public string Name { get; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue