Try our conversational search powered by Generative AI!

Class ActivityType

Definition of a type of Activity and it's available action types.

Inheritance
System.Object
ActivityType
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ActivityType

Constructors

ActivityType(String, IEnumerable<ActionType>)

Initializes a new instance of the ActivityType class with name and actions.

Declaration
public ActivityType(string name, IEnumerable<ActionType> actionTypes)
Parameters
Type Name Description
System.String name

The name of the activity type.

System.Collections.Generic.IEnumerable<ActionType> actionTypes

The action types that should be available for this activity type.

Fields

Content

A content related activity

Declaration
public const string Content = "Content"
Field Value
Type Description
System.String

ContentApproval

An content approval related activity

Declaration
public const string ContentApproval = "ContentApproval"
Field Value
Type Description
System.String

ContentType

An content type related activity.

Declaration
public const string ContentType = "ContentType"
Field Value
Type Description
System.String

Directory

A UnifiedDirectory related activity

Declaration
public const string Directory = "Directory"
Field Value
Type Description
System.String

File

A UnifiedFile related activity

Declaration
public const string File = "File"
Field Value
Type Description
System.String

Message

A message

Declaration
public const string Message = "Message"
Field Value
Type Description
System.String

Project

A project related activity

Declaration
public const string Project = "Project"
Field Value
Type Description
System.String

Properties

ActionTypes

Gets a list of available ActionType for this ActivityType.

Declaration
public IEnumerable<ActionType> ActionTypes { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ActionType>

LanguagePath

Gets the language path to use to get the localized name of this ActivityType from the LocalizationService.

Declaration
public string LanguagePath { get; }
Property Value
Type Description
System.String

Name

Gets the name of this ActivityType.

Declaration
public string Name { get; }
Property Value
Type Description
System.String

Extension Methods