Skip to content

Commit

Permalink
Fixed event formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackDragonBE committed Sep 19, 2018
1 parent cdaba19 commit 1ca89e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -149,18 +149,18 @@ public delegate void RenderCallback()

### Events

Prefix event methods with the prefix **On**.
Events should be written in **PascalCase**. Never prefix events with a prefix like **On**.

**BAD:**

```csharp
public static event CloseCallback Close;
public static event CloseCallback OnClose;
```

**GOOD:**

```csharp
public static event CloseCallback OnClose;
public static event CloseCallback Close;
```

### Misc
Expand Down

0 comments on commit 1ca89e9

Please sign in to comment.