BenchmarkDotNet=v0.11.3, OS=Windows 10.0.17134.523 (1803/April2018Update/Redstone4)
Intel Core i7-6700 CPU 3.40GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
Frequency=3328124 Hz, Resolution=300.4696 ns, Timer=TSC
.NET Core SDK=2.2.101
[Host] : .NET Core 2.1.7 (CoreCLR 4.6.27129.04, CoreFX 4.6.27129.04), 64bit RyuJIT
DefaultJob : .NET Core 2.1.7 (CoreCLR 4.6.27129.04, CoreFX 4.6.27129.04), 64bit RyuJIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyFeature : FeatureSchemaBase | |
{ | |
class MyFunc : Function | |
{ | |
public MyFunc(string schema) : base(new DbObjectName(schema, "hello")) | |
{ | |
} | |
public override void Write(DdlRules rules, StringWriter writer) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Marten.Samples.GeneratedType | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var store = DocumentStore.For(c => | |
{ | |
c.Connection("cstring"); | |
c.AutoCreateSchemaObjects = AutoCreate.All; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Baseline; | |
using Marten.Util; | |
namespace Marten.Services | |
{ | |
public enum UnitOfWorkOrigin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text; | |
namespace Marten.Services.Events | |
{ | |
public class AssertEventStreamMaxEventId : IStorageOperation | |
{ | |
private readonly Guid stream; | |
private readonly int expectedVersion; | |
private readonly string tableName; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProjectionSource | |
{ | |
public Guid Id = Guid.NewGuid(); | |
public string Value { get; set; } | |
public int AnotherValue { get; set; } | |
public object ThirdValue { get; set; } | |
} | |
public class ProjectionTarget |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IEventStoreTest | |
{ | |
} | |
internal static class EventStoreTestMixins | |
{ | |
... | |
public static EventStoreHelper StartInMemStore(this IEventStoreTest test) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class SubscriptionExtensions | |
{ | |
internal sealed class UsingCustomMessageHandlerRegistry | |
{ | |
} | |
public static void Consumer<T>(this UnicastBus busInstance, IHandleMessages<T> handler) | |
{ | |
var currentConfiguration = Configure.Instance; | |
MessageHandlerRegistry messageHandlerRegistry; |