Normalize
This commit is contained in:
10
Normalize/Shared/Normalize.Shared.csproj
Normal file
10
Normalize/Shared/Normalize.Shared.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<SupportedPlatform Include="browser" />
|
||||
</ItemGroup>
|
||||
</Project>
|
12
Normalize/Shared/WeatherForecast.cs
Normal file
12
Normalize/Shared/WeatherForecast.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace Normalize.Shared;
|
||||
|
||||
public class WeatherForecast
|
||||
{
|
||||
public DateOnly Date { get; set; }
|
||||
|
||||
public int TemperatureC { get; set; }
|
||||
|
||||
public string? Summary { get; set; }
|
||||
|
||||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||
}
|
Reference in New Issue
Block a user