C# Class PatientPending.Specifications.PatientAddedEventBuilder

显示文件 Open project: PaulUpson/PatientPending

Public Methods

Method Description
Build ( ) : PatientAdded_v2
WithDoB ( System.DateTime dateOfBirth ) : PatientAddedEventBuilder
WithFirstName ( string firstname ) : PatientAddedEventBuilder
WithGender ( Gender gender ) : PatientAddedEventBuilder
WithId ( System.Guid patientId ) : PatientAddedEventBuilder
WithMiddleName ( string middleName ) : PatientAddedEventBuilder
WithNhsNumber ( NHSNumber nhsNumber ) : PatientAddedEventBuilder
WithSurname ( string surname ) : PatientAddedEventBuilder
WithTitle ( Title title ) : PatientAddedEventBuilder

Method Details

Build() public method

public Build ( ) : PatientAdded_v2
return PatientPending.Core.PatientAdded_v2

WithDoB() public method

public WithDoB ( System.DateTime dateOfBirth ) : PatientAddedEventBuilder
dateOfBirth System.DateTime
return PatientAddedEventBuilder

WithFirstName() public method

public WithFirstName ( string firstname ) : PatientAddedEventBuilder
firstname string
return PatientAddedEventBuilder

WithGender() public method

public WithGender ( Gender gender ) : PatientAddedEventBuilder
gender Gender
return PatientAddedEventBuilder

WithId() public method

public WithId ( System.Guid patientId ) : PatientAddedEventBuilder
patientId System.Guid
return PatientAddedEventBuilder

WithMiddleName() public method

public WithMiddleName ( string middleName ) : PatientAddedEventBuilder
middleName string
return PatientAddedEventBuilder

WithNhsNumber() public method

public WithNhsNumber ( NHSNumber nhsNumber ) : PatientAddedEventBuilder
nhsNumber PatientPending.Core.NHSNumber
return PatientAddedEventBuilder

WithSurname() public method

public WithSurname ( string surname ) : PatientAddedEventBuilder
surname string
return PatientAddedEventBuilder

WithTitle() public method

public WithTitle ( Title title ) : PatientAddedEventBuilder
title Title
return PatientAddedEventBuilder