Exemple #1
0
        public HomeController(
            ILogger <HomeController> logger,
            GuidWrapperService guidWrapperService,
            ISingletonGuidService singletonGuidService,
            IScopedGuidService scopedGuidService,
            ITransientGuidService transientGuidService,
            IOptionsSnapshot <DatabaseOptions> databaseOptionsSnapshot)
        {
            _logger = logger;

            _guidWrapperService      = guidWrapperService;
            _singletonGuidService    = singletonGuidService;
            _scopedGuidService       = scopedGuidService;
            _transientGuidService    = transientGuidService;
            _databaseOptionsSnapshot = databaseOptionsSnapshot;
        }
 public GuidWrapperService(ISingletonGuidService singletonGuidService, IScopedGuidService scopedGuidService, ITransientGuidService trasientGuidService)
 {
     _singletonGuidService = singletonGuidService;
     _scopedGuidService    = scopedGuidService;
     _trasientGuidService  = trasientGuidService;
 }