Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static class EventManager
- {
- protected class CallbackInfo // Impossible!
- {
- private Callback callback;
- public CallbackInfo(Callback cb)
- {
- callback = cb;
- }
- }
- public delegate void Callback(Guid id);
- private static Dictionary<Guid, CallbackInfo> callbacks = new Dictionary<Guid, CallbackInfo>(); // Need non-static classes here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement