"packages/KeraLua.1.0.24/lib/xamarinmac/KeraLua.xml" did not exist on "a7bec7fb031b862a5d6054c0183ddaca927d8d04"
Commit 5fc72461 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Mono-style format.

parent a0e1671c
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LuaInterfaceTest.Mock
......@@ -9,25 +8,24 @@ namespace LuaInterfaceTest.Mock
{
public event EventHandler<EventArgs> Clicked;
protected virtual void OnEntityClicked(EventArgs e)
protected virtual void OnEntityClicked (EventArgs e)
{
EventHandler<EventArgs> handler = Clicked;
if (handler != null)
{
if (handler != null) {
// Use the () operator to raise the event.
handler(this, e);
handler (this, e);
}
}
public Entity()
public Entity ()
{
}
public void Click()
public void Click ()
{
OnEntityClicked(new EventArgs());
OnEntityClicked (new EventArgs ());
}
}
}
This diff is collapsed.
This diff is collapsed.
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