Updated the logic in DockerComposeCompositeService.ExtractNames to separate container names with either _ or -, depending on the compose version specified.
Made DockerComposeCompositeService more extensible by changing the accessibility of some members from private to protected. This allows derived classes to access things such as the config and the hosts/containers collections when overriding methods.
CompositeBuilder.AssumeComposeVersion(ComposeVersion composeVersion)
method.DockerComposeCompositeService.ExtractNames
to separate container names with either_
or-
, depending on the compose version specified.DockerComposeCompositeService
more extensible by changing the accessibility of some members fromprivate
toprotected
. This allows derived classes to access things such as the config and the hosts/containers collections when overriding methods.