Skip to content

Orleans.Serialization.NodaTime is a library that provides Orleans serialization functionality for NodaTime types.

Notifications You must be signed in to change notification settings

havarnov/orleans.serialization.nodatime

Repository files navigation

Orleans.Serialization.NodaTime is a library that provides Orleans serialization functionality for NodaTime.

The library implements codecs and copiers for the following types:

  • Instant
  • Offset
  • CalendarSystem
  • LocalDateTime
  • LocalDate
  • LocalTime
  • OffsetDateTime
  • OffsetDate
  • OffsetTime
  • DateTimeZone
  • ZonedDateTime
  • Duration
  • Period
  • Interval
  • DateInterval
await Host
    .CreateDefaultBuilder()
    .ConfigureServices((ctx, services) =>
    {
        services.AddOrleans(builder =>
        {
            builder.Services.AddSerializer(serializerBuilder =>
            {
                serializerBuilder.AddNodaTimeSerializers();
            })
        })
    })
    .UseConsoleLifetime()
    .Build()
    .RunAsync();

About

Orleans.Serialization.NodaTime is a library that provides Orleans serialization functionality for NodaTime types.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages