Ejemplo n.º 1
0
 public Sender(
     NetworkService<GroupCommunicationMessage> networkService, 
     IIdentifierFactory idFactory)
 {
     _networkService = networkService;
     _idFactory = idFactory;
 }
Ejemplo n.º 2
0
 private Sender(
     StreamingNetworkService<GeneralGroupCommunicationMessage> networkService,
     IIdentifierFactory idFactory)
 {
     _networkService = networkService;
     _idFactory = idFactory;
 }
Ejemplo n.º 3
0
        public void SetIdentifier(IIdentifierFactory factory)
        {
            factory.GuardAgainstNull(nameof(factory));

            Id = factory.Create(this);
        }
Ejemplo n.º 4
0
 private CarEntity(IRecorder recorder, IIdentifierFactory idFactory, Identifier identifier) : base(recorder,
                                                                                                   idFactory,
                                                                                                   identifier)
 {
 }
Ejemplo n.º 5
0
 public TestEntity(ILogger logger, IIdentifierFactory idFactory)
     : base(logger, idFactory)
 {
 }
Ejemplo n.º 6
0
 public CarEntity(IRecorder recorder, IIdentifierFactory idFactory) : base(recorder, idFactory,
                                                                           CarsDomain.Events.Car.Created.Create)
 {
 }
Ejemplo n.º 7
0
 private ClinicEntity(ILogger logger, IIdentifierFactory idFactory, Identifier identifier) : base(logger,
                                                                                                  idFactory,
                                                                                                  identifier)
 {
 }
Ejemplo n.º 8
0
 public ClinicEntity(ILogger logger, IIdentifierFactory idFactory) : base(logger, idFactory,
                                                                          ClinicsDomain.Events.Clinic.Created.Create)
 {
 }
Ejemplo n.º 9
0
 public GremlinQueryImpl(string traversalSourceName, IImmutableList <GremlinStep> steps, IImmutableDictionary <string, StepLabel> stepLabelBindings, IIdentifierFactory identifierFactory)
 {
     this.Steps = steps;
     this.TraversalSourceName = traversalSourceName;
     this.StepLabelMappings   = stepLabelBindings;
     this.IdentifierFactory   = identifierFactory;
 }
Ejemplo n.º 10
0
 private TestEntity(IIdentifierFactory idFactory)
 {
     Id = idFactory.Create(this);
 }