diff options
author | DamianEdwards <damian@damianedwards.com> | 2021-07-01 03:29:17 +0300 |
---|---|---|
committer | DamianEdwards <damian@damianedwards.com> | 2021-07-01 23:01:39 +0300 |
commit | 7db552674af2532c8b7a7d3069f67687d6109b14 (patch) | |
tree | 154b2593f5f8e4a6b746cef6356bbccb842b07d6 /src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp | |
parent | 179c2b51613289f393856209d9216398670ddd3e (diff) |
Enable nullable references in project templates
Contributes to #33947
Diffstat (limited to 'src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp')
-rw-r--r-- | src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/WeatherForecast.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/WeatherForecast.cs b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/WeatherForecast.cs index 128b347369..7ff35e1a61 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/WeatherForecast.cs +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/WeatherForecast.cs @@ -10,6 +10,6 @@ namespace Company.WebApplication1 public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - public string Summary { get; set; } + public string? Summary { get; set; } } } |