/// <summary> /// Initializes a new instance of the <see cref="LocationProfile"/> class. /// </summary> /// <param name="locationName">Name of the location.</param> /// <param name="effectiveDateRange">The effective date range.</param> /// <param name="websiteUrlName">Name of the website URL.</param> /// <param name="countyArea">The county area.</param> /// <param name="geographicalRegion">The geographical region.</param> /// <param name="hipaaServiceLocation">The hipaa service location.</param> protected internal LocationProfile( LocationName locationName, DateRange effectiveDateRange, string websiteUrlName, CountyArea countyArea, GeographicalRegion geographicalRegion, HipaaServiceLocation hipaaServiceLocation) { Check.IsNotNull(locationName, () => LocationName); LocationName = locationName; EffectiveDateRange = effectiveDateRange; WebsiteUrlName = websiteUrlName; CountyArea = countyArea; GeographicalRegion = geographicalRegion; HipaaServiceLocation = hipaaServiceLocation; }
/// <summary> /// Assigns the hipaa service location. /// </summary> /// <param name="hipaaServiceLocation">The hipaa service location.</param> /// <returns>A LocationProfileBuilder.</returns> public LocationProfileBuilder WithHipaaServiceLocation(HipaaServiceLocation hipaaServiceLocation) { _hipaaServiceLocation = hipaaServiceLocation; return(this); }
/// <summary> /// Assigns the hipaa service location. /// </summary> /// <param name="hipaaServiceLocation">The hipaa service location.</param> /// <returns>A LocationProfileBuilder.</returns> public LocationProfileBuilder WithHipaaServiceLocation(HipaaServiceLocation hipaaServiceLocation) { _hipaaServiceLocation = hipaaServiceLocation; return this; }