Пример #1
0
        public Adres(
            Guid id,
            Adressoort adressoort,
            bool isGeheim,
            FSharpOption <string> straatnaam,
            FSharpOption <int> huisnummer,
            FSharpOption <string> huisnummertoevoeging,
            FSharpOption <string> huisnummeraanduiding,
            FSharpOption <string> postcode,
            FSharpOption <string> plaatsnaam,
            FSharpOption <string> locatieomschrijving,
            FSharpOption <string> adresregelBuitenland1,
            FSharpOption <string> adresregelBuitenland2,
            FSharpOption <string> adresregelBuitenland3,
            Land land,
            AuditTrail <Adres> auditTrail)
        {
            Id                   = id;
            Adressoort           = adressoort;
            IsGeheim             = isGeheim;
            Straatnaam           = straatnaam;
            Huisnummer           = huisnummer;
            Huisnummertoevoeging = huisnummertoevoeging;
            Huisnummeraanduiding = huisnummeraanduiding;
            Postcode             = postcode;
            Plaatsnaam           = plaatsnaam;
            Locatieomschrijving  = locatieomschrijving;

            AdresregelBuitenland1 = adresregelBuitenland1;
            AdresregelBuitenland2 = adresregelBuitenland2;
            AdresregelBuitenland3 = adresregelBuitenland3;
            Land       = land;
            AuditTrail = auditTrail;
        }
Пример #2
0
 protected Builder(
     Adres basis,
     bool isGeheim,
     Adressoort adressoort,
     Land land,
     FSharpOption <string> postcode,
     FSharpOption <string> straatnaam,
     FSharpOption <int> huisnummer,
     FSharpOption <string> huisnummertoevoeging,
     FSharpOption <string> huisnummeraanduiding,
     FSharpOption <string> plaatsnaam,
     FSharpOption <string> locatieomschrijving,
     FSharpOption <string> adresregelBuitenland1,
     FSharpOption <string> adresregelBuitenland2,
     FSharpOption <string> adresregelBuitenland3)
 {
     this.basis                 = basis;
     this.isGeheim              = isGeheim;
     this.adressoort            = adressoort;
     this.land                  = land;
     this.postcode              = postcode;
     this.straatnaam            = straatnaam;
     this.huisnummer            = huisnummer;
     this.huisnummertoevoeging  = huisnummertoevoeging;
     this.huisnummeraanduiding  = huisnummeraanduiding;
     this.plaatsnaam            = plaatsnaam;
     this.locatieomschrijving   = locatieomschrijving;
     this.adresregelBuitenland1 = adresregelBuitenland1;
     this.adresregelBuitenland2 = adresregelBuitenland2;
     this.adresregelBuitenland3 = adresregelBuitenland3;
 }
Пример #3
0
 internal ActualBuilder(
     Adres basis,
     bool isGeheim,
     Adressoort adressoort,
     Land land,
     FSharpOption <string> postcode,
     FSharpOption <string> straatnaam,
     FSharpOption <int> huisnummer,
     FSharpOption <string> huisnummerToevoeging,
     FSharpOption <string> huisnummerAanduiding,
     FSharpOption <string> plaatsnaam,
     FSharpOption <string> locatieOmschrijving,
     FSharpOption <string> adresregelBuitenland1,
     FSharpOption <string> adresregelBuitenland2,
     FSharpOption <string> adresregelBuitenland3)
     : base(basis, isGeheim, adressoort, land, postcode, straatnaam, huisnummer, huisnummerToevoeging, huisnummerAanduiding, plaatsnaam, locatieOmschrijving, adresregelBuitenland1, adresregelBuitenland2, adresregelBuitenland3)
 {
 }
Пример #4
0
            public Builder Adressoort(Adressoort newValue)
            {
                Contract.Requires(newValue != null);

                return(new ActualBuilder(basis, isGeheim, newValue, land, postcode, straatnaam, huisnummer, huisnummertoevoeging, huisnummeraanduiding, plaatsnaam, locatieomschrijving, adresregelBuitenland1, adresregelBuitenland2, adresregelBuitenland3));
            }