Exemple #1
0
      public JobWrapper (
          CreateInB<TAtypeEntityId, TAtypeEntityVersion, TAtypeEntity, TBtypeEntityId, TBtypeEntityVersion, TBtypeEntity, TContext> state,
          IEntitySynchronizationLogger logger, 
          TContext context)
      {
        if (state == null)
          throw new ArgumentNullException (nameof (state));
        if (logger == null)
          throw new ArgumentNullException (nameof (logger));

        _state = state;
        _logger = logger;
        _context = context;
      }
Exemple #2
0
            public JobWrapper(
                CreateInB <TAtypeEntityId, TAtypeEntityVersion, TAtypeEntity, TBtypeEntityId, TBtypeEntityVersion, TBtypeEntity> state,
                IEntitySynchronizationLogger logger)
            {
                if (state == null)
                {
                    throw new ArgumentNullException(nameof(state));
                }
                if (logger == null)
                {
                    throw new ArgumentNullException(nameof(logger));
                }

                _state  = state;
                _logger = logger;
            }