Exemple #1
0
        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);
        }
Exemple #2
0
 public SponsorFiaDataEntity(LanguageCatalogueValue languageCatalogueValue)
 {
     Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue));
 }
Exemple #3
0
        public SponsorDataEntity(LanguageCatalogueValue languageCatalogueValue)
        {
            Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue));

            Contracts = new List <SponsorContractObject>();
        }
 public NonF1ChiefMechanicDataEntity(LanguageCatalogueValue languageCatalogueValue)
 {
     Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue));
 }
Exemple #5
0
 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;
 }
 public CommentaryIndexDriverDataEntity(LanguageCatalogueValue languageCatalogueValue)
 {
     Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue));
 }
Exemple #7
0
 public F1ChiefDesignerDataEntity(LanguageCatalogueValue languageCatalogueValue)
 {
     Name = languageCatalogueValue ?? throw new ArgumentNullException(nameof(languageCatalogueValue));
 }