Skip to content

Add caching to prevent INetworkEvent reallocation #38

Description

@gmich

HandleWith(this,x=> new Action(x.Do));

cache the object's name as string , and the delegate's (x.Do) name as string
also cache the whole networkConfig (eventHandler etc).

When disposing an eventHandler, the cached entry should be removed as well

For a successful lookup, the networkConfig.INetworkHandler is returned.

It shouldn't be in a hashtable or a dictionary.
Use GenericRepository. The lookup should match both entries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions