public SponsorContractDataEntityExportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <SponsorContractDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public CommentaryIndexTeamDataEntityExportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <CommentaryIndexTeamDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public ChassisHandlingDataEntityExportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <ChassisHandlingDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public NonF1ChiefDesignerDataEntityExportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <NonF1ChiefDesignerDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public DataImportService( DataService dataService, DataEndpoint dataEndpoint) { _dataService = dataService ?? throw new ArgumentNullException(nameof(dataService)); _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); }
public PerformanceCurveDataEntityExportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <PerformanceCurveDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public F1ChiefCommercialDataEntityImportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <F1ChiefCommercialDataEntity> dataEntityFactory, IIntegerIdentityFactory <F1ChiefCommercialDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataEntityFactory = dataEntityFactory ?? throw new ArgumentNullException(nameof(dataEntityFactory)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public CommentaryPrefixDriverDataEntityImportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <CommentaryPrefixDriverDataEntity> dataEntityFactory, IIntegerIdentityFactory <CommentaryPrefixDriverDataLocator> dataLocatorFactory) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataEntityFactory = dataEntityFactory ?? throw new ArgumentNullException(nameof(dataEntityFactory)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); }
public TrackDriverLookupDataEntityImportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <TrackDriverLookupDataEntity> dataEntityFactory, IIntegerIdentityFactory <TrackDriverLookupDataLocator> dataLocatorFactory, IdentityCalculator identityCalculator) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataEntityFactory = dataEntityFactory ?? throw new ArgumentNullException(nameof(dataEntityFactory)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); _identityCalculator = identityCalculator ?? throw new ArgumentNullException(nameof(identityCalculator)); }
public LanguageDataEntityImportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <LanguageDataEntity> dataEntityFactory, IIntegerIdentityFactory <LanguageDataLocator> dataLocatorFactory, LanguageValueConfigurationService languageValueConfigurationService) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataEntityFactory = dataEntityFactory ?? throw new ArgumentNullException(nameof(dataEntityFactory)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); _languageValueConfigurationService = languageValueConfigurationService ?? throw new ArgumentNullException(nameof(languageValueConfigurationService)); }
public SponsorDataEntityImportService( DataEndpoint dataEndpoint, IIntegerIdentityFactory <SponsorDataEntity> dataEntityFactory, IIntegerIdentityFactory <SponsorDataLocator> dataLocatorFactory, ISponsorContractObjectFactory sponsorContractObjectFactory, IdentityCalculator identityCalculator) { _dataEndpoint = dataEndpoint ?? throw new ArgumentNullException(nameof(dataEndpoint)); _dataEntityFactory = dataEntityFactory ?? throw new ArgumentNullException(nameof(dataEntityFactory)); _dataLocatorFactory = dataLocatorFactory ?? throw new ArgumentNullException(nameof(dataLocatorFactory)); _sponsorContractObjectFactory = sponsorContractObjectFactory ?? throw new ArgumentNullException(nameof(sponsorContractObjectFactory)); _identityCalculator = identityCalculator ?? throw new ArgumentNullException(nameof(identityCalculator)); }
protected void ExportLanguageCatalogueValue(DataEndpoint dataEndpoint, LanguageCatalogueValue value, int id) { var englishCatalogueItem = dataEndpoint.EnglishLanguageCatalogue.Read(id); var frenchCatalogueItem = dataEndpoint.FrenchLanguageCatalogue.Read(id); var germanCatalogueItem = dataEndpoint.GermanLanguageCatalogue.Read(id); englishCatalogueItem.Value = value.English; frenchCatalogueItem.Value = value.French; germanCatalogueItem.Value = value.German; dataEndpoint.EnglishLanguageCatalogue.Write(id, englishCatalogueItem); dataEndpoint.FrenchLanguageCatalogue.Write(id, frenchCatalogueItem); dataEndpoint.GermanLanguageCatalogue.Write(id, germanCatalogueItem); }
public byte[] GetBytes() { byte[] hpai1 = ControlEndpoint.GetBytes(); byte[] hpai2 = DataEndpoint.GetBytes(); byte[] cri = ConnectionRequest.GetBytes(); Header.Size = (short)(6 + hpai1.Length + hpai2.Length + cri.Length); byte[] buffer = new byte[Header.Size]; Array.Copy(Header.GetBytes(), 0, buffer, 0, 6); Array.Copy(hpai1, 0, buffer, 6, hpai1.Length); Array.Copy(hpai2, 0, buffer, 6 + hpai1.Length, hpai2.Length); Array.Copy(cri, 0, buffer, 6 + hpai1.Length + hpai2.Length, cri.Length); return(buffer); }
protected void ImportLanguageCatalogueValue(DataEndpoint dataEndpoint, LanguageCatalogueValue value, int id) { value.English = dataEndpoint.EnglishLanguageCatalogue.Read(id).Value; value.French = dataEndpoint.FrenchLanguageCatalogue.Read(id).Value; value.German = dataEndpoint.GermanLanguageCatalogue.Read(id).Value; }