public void Initialize <TAdvertisement>(AdvertisementModelBuilder <TAdvertisement> builder)
            where TAdvertisement : Advertisement, new()
        {
            this._minimumFieldsInitializer.Initialize(builder);

            builder
            .WithTemplateId(GetDefaultTemplateId())
            .WithSkill(GetDefaultSkill())
            .WithApplicationEmail(GetDefaultApplicationEmail())
            .WithRequestCreationId(GetDefaultCreationId())
            .WithLanguage(GetDefaultLanguage())
            .WithApplicationFormUrl(GetDefaultApplicationFormUrl())
            .WithStandOutBullet(GetDefaultStandoutBullet())
            .WithCompanyOverview(GetDefaultCompanyOverview())
            .WithLocationArea(GetDefaultLocationArea())
            .WithJobReference(GetDefaultJobReference());
        }
示例#2
0
 public void Initialize <TAdvertisement>(AdvertisementModelBuilder <TAdvertisement> builder)
     where TAdvertisement : Advertisement, new()
 {
     builder
     .WithAdvertiserId(this.GetDefaultAdvertiserId())
     .WithJobTitle(GetDefaultJobTitle())
     .WithEmploymentType(GetDefaultEmploymentType())
     .WithSalaryMinimum(GetDefaultSalaryMinimum())
     .WithSalaryMaximum(GetDefaultSalaryMaximum())
     .WithSalaryCurrencyCode(GetDefaultSalaryCurrencyCode())
     .WithSalaryDisplay(GetDefaultSalaryDisplay())
     .WithLocationId(GetDefaultLocationId())
     .WithJobDescription(GetDefaultJobDescription())
     .WithJobSpecialization(GetDefaultJobSpecialization())
     .WithJobRole(GetDefaultJobRole())
     .WithEducationLevel(GetDefaultEducationLevel())
     .WithFieldOfStudy(GetDefaultFieldOfStudy())
     .WithPositionLevel(GetDefaultPositionLevel())
     .WithYearOfExperience(GetDefaultYearOfExperience())
     .WithSite(GetDefaultSite())
     .WithBlindAd(GetDefaultBlindAd())
     .WithPostingDate(GetDefaultPostingDate());
 }