Click or drag to resize
IActivityTypeServiceGetActivityTypeViewModels Method
Returns view models for all allowed activity types.

Namespace: CMS.WebAnalytics.Web.UI
Assembly: CMS.WebAnalytics.Web.UI (in CMS.WebAnalytics.Web.UI.dll) Version: 10.0.0
Syntax
C#
IEnumerable<ActivityTypeViewModel> GetActivityTypeViewModels(
	ICollection<string> allowedActivities,
	bool isSiteContentOnly
)

Parameters

allowedActivities
Type: System.Collections.GenericICollectionString
List of allowed activity types.
isSiteContentOnly
Type: SystemBoolean
Flag if site is context only.

Return Value

Type: IEnumerableActivityTypeViewModel
Remarks
Some activities are not allowed on contento only sites.
See Also