File: Data\WeatherForecast.cs | Web Access |
Project: src\src\Components\Samples\BlazorServerApp\BlazorServerApp.csproj (BlazorServerApp) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace BlazorServerApp.Data; public class WeatherForecast { public DateTime Date { get; set; } public int TemperatureC { get; set; } public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); public string Summary { get; set; } = default!; } |