Ejemplo n.º 1
0
        public void ExecuteConfiguration(IApplicationConfigurationService service)
        {
            List <IEndPointMethodAuthorization> authorizations = null;

            if (_authorizations != ImmutableLinkedList <IEndPointMethodAuthorization> .Empty)
            {
                authorizations = _authorizations.ToList();
            }

            service.ExposeType(_currentApiInformation, _exposeType, ServiceActivationMethod.Default, _activationFunc, _name, authorizations, _methodFilterGroup, _obsoleteMessage);
        }