Exemplo n.º 1
0
        /// <inheritdoc />
        public IExposureConfiguration <T> Expose <T>()
        {
            var config = new TypeExposureConfiguration <T>(GetCurrentApiInformation());

            ApplicationConfigurationService.AddConfigurationObject(config);

            return(config);
        }
Exemplo n.º 2
0
        /// <inheritdoc />
        public IExposureConfiguration Expose(Type type)
        {
            var config = new TypeExposureConfiguration(GetCurrentApiInformation(), type);

            ApplicationConfigurationService.AddConfigurationObject(config);

            return(config);
        }