I hereby claim:
- I am NZSmartie on github.
- I am nzsmartie (https://keybase.io/nzsmartie) on keybase.
- I have a public key whose fingerprint is 0448 F8EA A55E 7DC5 2F93 019F B7E1 258B 1896 B531
To claim this, I am signing this object:
thatClass.OnSomeEvent += (sender, args) => Console.WriteLine(“Some event happened”); |
public class MyClass | |
{ | |
public event EventHandler OnSomeEvent; | |
public void TriggerSomeEvent() | |
{ | |
try | |
{ | |
OnSomeEvent?.Invoke(this, new EventArgs()); | |
} |
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using NUnit.Framework; | |
namespace NunitTest | |
{ | |
public delegate Task AsyncEventHandler(object sender, EventArgs e); | |
public class MyEventClass |
import usb | |
import hidparser | |
if __name__ is not "__main__": | |
exit() | |
class MyDevice: | |
def __init__(self, interface: usb.core.Interface): |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stddef.h> | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
#include "Timers.h" | |
#define TIMER_CALLBACKS_MAX 16 |
I hereby claim:
To claim this, I am signing this object: