static SnapshotItem Generate(string key, string value, long sequence) { var item = new SnapshotItem(); item.AsPublicSnapshot(key, value, typeof(string), sequence); item.Serialize(serializer); return(item); }
static SnapshotItem Generate(int value, long sequence, int remaining) { var item = new SnapshotItem(); item.AsPartOfSystemSnapshot(sequence, remaining, "key", value, value.GetType()); item.Serialize(serializer); return(item); }