mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
* Rename avalonia & wpf samples * Rename rest of samples * fix sample readme * Fix compat util tests * rename / move all src projects * remove package lock files and move libC# again * Add rust lib and cargo workspace * Replace locksmith lib with new filelocksmith-rs library * Deprecated type * fix setup compile * Use thiserror for error handling * Rename some enums and formatting * Add missing SHA256 * wip c++ library * cpp wip * alphabetize readme * Try to get build working again * Fix some conditionally compiled bits * cross config should be in workspace root * Fix PathHelper for new rust target dir * Missed one old path to velopack.csproj * remove obsolete coverage code * testawareapp.exe no longer exists
24 lines
1.1 KiB
C#
24 lines
1.1 KiB
C#
using System.Collections.Immutable;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace UnoSample.DataContracts.Serialization;
|
|
/// <summary>
|
|
/// Generated class for System.Text.Json Serialization
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// When using the JsonSerializerContext you must add the JsonSerializableAttribute
|
|
/// for each type that you may need to serialize / deserialize including both the
|
|
/// concrete type and any interface that the concrete type implements.
|
|
/// For more information on the JsonSerializerContext see:
|
|
/// https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation?WT.mc_id=DT-MVP-5002924
|
|
/// </remarks>
|
|
[JsonSerializable(typeof(WeatherForecast))]
|
|
[JsonSerializable(typeof(WeatherForecast[]))]
|
|
[JsonSerializable(typeof(IEnumerable<WeatherForecast>))]
|
|
[JsonSerializable(typeof(IImmutableList<WeatherForecast>))]
|
|
[JsonSerializable(typeof(ImmutableList<WeatherForecast>))]
|
|
[JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase)]
|
|
public partial class WeatherForecastContext : JsonSerializerContext
|
|
{
|
|
}
|