public ConnectionHandlerImpl(T connection) { _bindings = new HashSet <ConnectionBinding <T> >(); _connection = connection; _policyChain = new ConnectionPolicyChainImpl(this); _policyChain.Push(new ConnectOnFirstUsePolicy(this, _policyChain)); }
public ConnectionHandlerImpl(T connection) { _bindings = new HashSet <ConnectionBinding <T> >(); _connection = connection; _policyChain = new ConnectionPolicyChainImpl(this); _policyChain.Push(new ConnectOnFirstUsePolicy(this, _policyChain)); }