Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add caching to prevent INetworkEvent reallocation #38

@gmich

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions