API Diff between 3.0.3 and 2.3.2
63 Additions
13 Removals
FsCodec
-
public static class Codec
- public static IEventCodec<Event, Format, Context> Create<Event, Format, Context>(FSharpFunc<Event, Tuple<string, Format, FSharpOption<DateTimeOffset>>> encode, FSharpFunc<ITimelineEvent<Format>, FSharpOption<Event>> tryDecode, FSharpFunc<Tuple<FSharpOption<Context>, Event>, Tuple<Format, Guid, string, string>> mapCausation)
- public static IEventCodec<Event, Format, object> Create<Event, Format>(FSharpFunc<Event, Tuple<string, Format>> encode, FSharpFunc<Tuple<string, Format>, FSharpOption<Event>> tryDecode)
- public static IEventCodec<Event, Format, Context> Create<Event, Format, Context>(Func<Context, Event, ValueTuple<string, Format, Format, Guid, string, string, DateTimeOffset>> encode, Func<ITimelineEvent<Format>, FSharpValueOption<Event>> decode)
- public static IEventCodec<Event, Format, Context> Create<Event, Format, Context>(Func<Event, ValueTuple<string, Format, FSharpValueOption<DateTimeOffset>>> encode, Func<ITimelineEvent<Format>, FSharpValueOption<Event>> decode, Func<Context, Event, ValueTuple<Format, Guid, string, string>> mapCausation)
- public static IEventCodec<Event, Format, Unit> Create<Event, Format>(Func<Event, ValueTuple<string, Format>> encode, Func<string, Format, FSharpValueOption<Event>> decode)
-
public abstract class Comparable<TComp, Token> : IComparable where TComp : Comparable<TComp, Token>
-
public interface IEventCodec<Event, Format, Context>
-
public interface ITimelineEvent<Format> : IEventData<Format>
-
public class streamId
-
public static class StreamIdModule
- public static class Element
- public static class Elements
- public static class Gen
- public static FSharpFunc<string, string[]> |Parse|(int count)
- public static string |Parse1|(string x)
- public static string create(string x)
- public static a dec<a>(FSharpFunc<string, a> f, string x)
- public static ValueTuple<a, b> dec2<a, b>(FSharpFunc<string, a> f1, FSharpFunc<string, b> f2, string x)
- public static ValueTuple<a, b, c> dec3<a, b, c>(FSharpFunc<string, a> f1, FSharpFunc<string, b> f2, FSharpFunc<string, c> f3, string x)
- public static ValueTuple<a, b, c, d> dec4<a, b, c, d>(FSharpFunc<string, a> f1, FSharpFunc<string, b> f2, FSharpFunc<string, c> f3, FSharpFunc<string, d> f4, string x)
- public static FSharpFunc<a, string> gen<a>(FSharpFunc<a, string> f)
- public static string gen2<a, b>(FSharpFunc<a, string> f1, FSharpFunc<b, string> f2, ValueTuple<a, b> _arg1)
- public static string gen3<a, b, c>(FSharpFunc<a, string> f1, FSharpFunc<b, string> f2, FSharpFunc<c, string> f3, ValueTuple<a, b, c> _arg1)
- public static string gen4<a, b, c, d>(FSharpFunc<a, string> f1, FSharpFunc<b, string> f2, FSharpFunc<c, string> f3, FSharpFunc<d, string> f4, ValueTuple<a, b, c, d> _arg1)
- public static string[] parse(int count, string x)
- public static string parseExactlyOne(string x)
- public static string toString(string x)
-
public static class StreamNameModule
- public static FSharpFunc<string, Tuple<string, string>> |CategoryAndId| { get; }
- public static FSharpFunc<string, Tuple<string, string[]>> |CategoryAndIds| { get; }
- public static FSharpChoice<Tuple<string, string>, Unit> |Categorized|NotCategorized|(string rawStreamName)
- public static string[] |IdElements|(string aggregateId)
- public static string compose(string category, IEnumerable<string> aggregateIdElements)
- public static class Category
- public static class Internal
- public static FSharpFunc<string, string> |Category| { get; }
- public static FSharpFunc<string, ValueTuple<string, string>> |Split| { get; }
- public static string compose(string categoryName, string[] streamIdElements)
- public static Tuple<string, string> splitCategoryAndId(string streamName)
- public static Tuple<string, string[]> splitCategoryAndIds(string streamName)
- public static ValueTuple<string, string> split(string streamName)
- public static FSharpOption<Tuple<string, string>> trySplitCategoryAndId(string rawStreamName)
- public static FSharpValueOption<string> tryFind(string categoryName, string x)
-
public abstract class StringId<TComp> : Comparable<TComp, string> where TComp : Comparable<TComp, string>
-
public static class TypeSafeEnum
- public static t[] caseValues<t>()
- public static bool isTypeSafeEnum(Type t)
- public static FSharpFunc<string, T> parse<T>()
- public static FSharpFunc<string, T> parseF<T>(FSharpFunc<string, FSharpFunc<string, bool>> f)
- public static FSharpFunc<string, object> parseT(Type t)
- public static FSharpFunc<FSharpFunc<string, FSharpFunc<string, bool>>, FSharpFunc<string, object>> parseTF(Type t)
- public static FSharpFunc<t, string> toString<t>()
- public static FSharpFunc<string, FSharpOption<T>> tryParse<T>()
- public static FSharpFunc<FSharpFunc<string, FSharpFunc<string, bool>>, FSharpFunc<string, FSharpOption<T>>> tryParseF<T>()
- public static FSharpFunc<FSharpFunc<string, bool>, FSharpOption<object>> tryParseTF(Type t)
-
public static class Union
FsCodec.Core
-
public static class EventCodec<Event, Format, Context>
- public static IEventCodec<Event, TargetFormat, Context> Map<TargetFormat>(IEventCodec<Event, Format, Context> native, Func<Format, TargetFormat> up, Func<TargetFormat, Format> down)
-
public class EventData<Format> : IEventData<Format>
-
public class TimelineEvent<Format> : ITimelineEvent<Format>
- public static ITimelineEvent<Format> Create(long index, string eventType, Format data, FSharpOption<Format> meta, FSharpOption<Guid> eventId, FSharpOption<string> correlationId, FSharpOption<string> causationId, FSharpOption<DateTimeOffset> timestamp, FSharpOption<bool> isUnfold, FSharpOption<object> context)
- public TimelineEvent(long index, string eventType, Format data, Format meta, Guid eventId, string correlationId, string causationId, DateTimeOffset timestamp, bool isUnfold, object context, int size)
- public static ITimelineEvent<Format> Create(long index, string eventType, Format data, FSharpOption<Format> meta, FSharpOption<Guid> eventId, FSharpOption<string> correlationId, FSharpOption<string> causationId, FSharpOption<DateTimeOffset> timestamp, FSharpOption<bool> isUnfold, FSharpOption<object> context, FSharpOption<int> size)
- public static ITimelineEvent<Format> Create(long index, IEventData<Format> inner, FSharpOption<bool> isUnfold, FSharpOption<object> context, FSharpOption<int> size)
- public static ITimelineEvent<Mapped> Map<Mapped>(Func<Format, Mapped> f, ITimelineEvent<Format> x)