ActuatorDigital / ActuatorDigital/Flume

Concretions that meet multiple interfaces, do not share single object unless made manually.

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

If a concretion meets multiple interfaces that you want to register, it must be done manually now, as using the interface to concrete register results in a per interface object, rather than the expected single shared object.

e,g.

var s = new Service();

.Register(s)
.Register(s)

behaves as expected, anything asking either services interface gets the same object, however.

.Register()
.Register()

makes two instances of Service. This may be desired but should be clarified or perhaps configurable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.