Exemple #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="VersionService" /> class.
        /// </summary>
        /// <param name="mergeVersionService">The merge version service.</param>
        /// <param name="versionInfoService">The version information service.</param>
        public VersionService(IMergeVersionService mergeVersionService, IVersionInfoService versionInfoService)
        {
            Argument.IsNotNull(() => mergeVersionService);
            Argument.IsNotNull(() => versionInfoService);

            _mergeVersionService = mergeVersionService;
            _versionInfoService  = versionInfoService;
        }
Exemple #2
0
 public AbstractVersionInfoController(
     ApiSettings settings,
     ILogger <AbstractVersionInfoController> logger,
     ITransactionCoordinator transactionCoordinator,
     IVersionInfoService versionInfoService,
     IApiVersionInfoModelMapper versionInfoModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.VersionInfoService     = versionInfoService;
     this.VersionInfoModelMapper = versionInfoModelMapper;
 }
Exemple #3
0
        public CommandLineParserService(
            LoggerService logger,
            IVersionInfoService versionInfo,
            IScriptEngineService rootEngine,
            IProjectExportService export)
        {
            _logger      = logger;
            _versionInfo = versionInfo;
            _rootEngine  = rootEngine;
            _export      = export;

            InitializationCommandLineArguments();
        }
        public CommandLineParserService(
            LoggerService logger, 
            IVersionInfoService versionInfo,
            IScriptEngineService rootEngine,
            IProjectExportService export)
        {
            _logger = logger;
            _versionInfo = versionInfo;
            _rootEngine = rootEngine;
            _export = export;

            InitializationCommandLineArguments();
        }
 public VersionInfoController(
     ApiSettings settings,
     ILogger <VersionInfoController> logger,
     ITransactionCoordinator transactionCoordinator,
     IVersionInfoService versionInfoService,
     IApiVersionInfoModelMapper versionInfoModelMapper
     )
     : base(settings,
            logger,
            transactionCoordinator,
            versionInfoService,
            versionInfoModelMapper)
 {
     this.BulkInsertLimit = 250;
     this.MaxLimit        = 1000;
     this.DefaultLimit    = 250;
 }
 public ViewModelBase(INavigationService navigationService, IVersionInfoService <IVersionInfo> service)
 {
     NavigationService  = navigationService;
     VersionInfoService = service;
 }
        public MergeVersionService(IVersionInfoService versionInfoService)
        {
            Argument.IsNotNull(() => versionInfoService);

            _versionInfoService = versionInfoService;
        }
 public DetailPageViewModel(INavigationService navigationService, IVersionInfoService <IVersionInfo> service) : base(navigationService, service)
 {
     Title = "Info";
 }
 public MainPageViewModel(INavigationService navigationService, IVersionInfoService <IVersionInfo> service) : base(navigationService, service)
 {
     Title = "Versions";
 }