Click or drag to resize
IssueHelperGetBaseUrlInternal Method
Creates a base URL for prefixing links in the given newsletter's issues.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 10.0.0
Syntax
C#
protected virtual string GetBaseUrlInternal(
	NewsletterInfo newsletter,
	SiteInfo site = null
)

Parameters

newsletter
Type: CMS.NewslettersNewsletterInfo
Newsletter to get base url from
site (Optional)
Type: CMS.SiteProviderSiteInfo
Site to create base url from, if null then CurrentSite is used

Return Value

Type: String
Exceptions
ExceptionCondition
ArgumentNullExceptionnewsletter is null
See Also