API Diff between 3.0.0 and 2.3.1
28 Additions
4 Removals
FsCodec
-
public static class ByteArray
-
public static class Compression
- public static byte[] EncodedToByteArray(ValueTuple<int, ReadOnlyMemory<byte>> x)
- public static ReadOnlyMemory<byte> EncodedToUtf8(ValueTuple<int, ReadOnlyMemory<byte>> x)
- public static IEventCodec<Event, ValueTuple<int, ReadOnlyMemory<byte>>, Context> EncodeTryCompress<Event, Context>(this IEventCodec<Event, ReadOnlyMemory<byte>, Context> native, FSharpOption<CompressionOptions> options = null)
- public static IEventCodec<Event, ValueTuple<int, ReadOnlyMemory<byte>>, Context> EncodeUncompressed<Event, Context>(this IEventCodec<Event, ReadOnlyMemory<byte>, Context> native)
- public static IEventCodec<Event, byte[], Context> ToByteArrayCodec<Event, Context>(this IEventCodec<Event, ValueTuple<int, ReadOnlyMemory<byte>>, Context> native)
- public static IEventCodec<Event, ReadOnlyMemory<byte>, Context> ToUtf8Codec<Event, Context>(this IEventCodec<Event, ValueTuple<int, ReadOnlyMemory<byte>>, Context> native)
- public static ValueTuple<int, ReadOnlyMemory<byte>> Utf8ToEncodedDirect(ReadOnlyMemory<byte> x)
- public static ValueTuple<int, ReadOnlyMemory<byte>> Utf8ToEncodedTryCompress(CompressionOptions options, ReadOnlyMemory<byte> x)
-
public struct CompressionOptions : IEquatable<CompressionOptions>, IStructuralEquatable, IComparable<CompressionOptions>, IComparable, IStructuralComparable
FsCodec.Box
-
public static class Codec
- public static IEventCodec<Event, object, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<Tuple<ITimelineEvent<object>, Contract>, Event> up, FSharpFunc<Tuple<FSharpOption<Context>, Event>, Tuple<Contract, FSharpOption<Meta>, Guid, string, string, FSharpOption<DateTimeOffset>>> down, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, object, Context> Create<Event, Contract, Meta, Context>(FSharpFunc<Tuple<ITimelineEvent<object>, Contract>, Event> up, FSharpFunc<Event, Tuple<Contract, FSharpOption<Meta>, FSharpOption<DateTimeOffset>>> down, FSharpFunc<Tuple<FSharpOption<Context>, FSharpOption<Meta>>, Tuple<FSharpOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, object, object> Create<Event, Contract, Meta>(FSharpFunc<Tuple<ITimelineEvent<object>, Contract>, Event> up, FSharpFunc<Event, Tuple<Contract, FSharpOption<Meta>, FSharpOption<DateTimeOffset>>> down, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, object, object> Create<Union>(FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract
- public static IEventCodec<Event, object, Context> Create<Event, Contract, Meta, Context>(Func<ITimelineEvent<object>, Contract, Event> up, Func<Context, Event, ValueTuple<Contract, FSharpValueOption<Meta>, Guid, string, string, DateTimeOffset>> down, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, object, Context> Create<Event, Contract, Meta, Context>(Func<ITimelineEvent<object>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, Func<Context, FSharpValueOption<Meta>, ValueTuple<FSharpValueOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, object, Unit> Create<Event, Contract, Meta>(Func<ITimelineEvent<object>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, object, Unit> Create<Union>(FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract
FsCodec.Core
-
public static class Codec
- public static IEventCodec<Event, Body, Context> Create<Event, Contract, Meta, Body, Context>(IEncoder<Body> encoder, Func<ITimelineEvent<Body>, Contract, Event> up, Func<Context, Event, ValueTuple<Contract, FSharpValueOption<Meta>, Guid, string, string, DateTimeOffset>> down, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, Body, Context> Create<Event, Contract, Meta, Body, Context>(IEncoder<Body> encoder, Func<ITimelineEvent<Body>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, Func<Context, FSharpValueOption<Meta>, ValueTuple<FSharpValueOption<Meta>, Guid, string, string>> mapCausation, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Event, Body, Unit> Create<Event, Contract, Meta, Body>(IEncoder<Body> encoder, Func<ITimelineEvent<Body>, Contract, Event> up, Func<Event, ValueTuple<Contract, FSharpValueOption<Meta>, FSharpValueOption<DateTimeOffset>>> down, FSharpOption<bool> rejectNullaryCases = null) where Contract : IUnionContract
- public static IEventCodec<Union, Body, Unit> Create<Body, Union>(IEncoder<Body> encoder, FSharpOption<bool> rejectNullaryCases = null) where Union : IUnionContract