Angular2Asp5Starter.Startup.ConfigureServices C# (CSharp) Метод

ConfigureServices() публичный Метод

public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection
Результат void
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc()
                    .AddJsonOptions(options =>
                    {
                        options.SerializerSettings.ContractResolver =
                            new CamelCasePropertyNamesContractResolver();
                    });
        }