ServiceCharacteristics(ServiceLifetime, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new ServiceCharacteristics struct.
public ServiceCharacteristics (Microsoft.Extensions.DependencyInjection.ServiceLifetime lifetime, bool multipleRegistrations = false);
new Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics : Microsoft.Extensions.DependencyInjection.ServiceLifetime * bool -> Microsoft.EntityFrameworkCore.Infrastructure.ServiceCharacteristics
Public Sub New (lifetime As ServiceLifetime, Optional multipleRegistrations As Boolean = false)
Parameters
- lifetime
- ServiceLifetime
The service lifetime.
- multipleRegistrations
- Boolean
true
if multiple registrations of the service is allowed; false
otherwise.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework