Пример #1
0
        public RouteConfig(
            RouteInfo route,
            int configHash,
            int?priority,
            BackendInfo backendOrNull,
            IReadOnlyList <AspNetCore.Http.Endpoint> aspNetCoreEndpoints,
            Transforms transforms)
        {
            Contracts.CheckValue(route, nameof(route));
            Contracts.CheckValue(aspNetCoreEndpoints, nameof(aspNetCoreEndpoints));

            Route         = route;
            ConfigHash    = configHash;
            Priority      = priority;
            BackendOrNull = backendOrNull;
            Endpoints     = aspNetCoreEndpoints;
            Transforms    = transforms;
        }