Table of Contents

Class CreateLanguageVariantEventData

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Contains the business data for language variant creation events.

public sealed class CreateLanguageVariantEventData
Inheritance
object
CreateLanguageVariantEventData
Extension Methods

Remarks

This class holds event-specific data that is shared between before and after create language variant events. It represents the business context of the event (content item and language variant details) and is separate from cross-handler communication state.

Constructors

CreateLanguageVariantEventData()

Initializes a new instance of the CreateLanguageVariantEventData class.

public CreateLanguageVariantEventData()

Properties

AccessSettings

Access control settings for the content item.

public ContentAccessSettings AccessSettings { get; init; }

Property Value

ContentAccessSettings

ContentItemData

Content item data.

public ContentItemData ContentItemData { get; init; }

Property Value

ContentItemData

ContentLanguageID

Content language identifier.

public int ContentLanguageID { get; init; }

Property Value

int

ContentLanguageName

Content language name.

public string ContentLanguageName { get; init; }

Property Value

string

ContentTypeID

Content item type identifier.

public int ContentTypeID { get; init; }

Property Value

int

ContentTypeName

Content item type name.

public string ContentTypeName { get; init; }

Property Value

string

DisplayName

Content item display name, used to identify the item in user interface.

public string DisplayName { get; set; }

Property Value

string

Guid

Content item unique identifier.

public Guid Guid { get; init; }

Property Value

Guid

ID

Content item identifier.

public int ID { get; init; }

Property Value

int

Name

Code name of the content item.

public string Name { get; init; }

Property Value

string

ScheduledPublishWhen

Date and time when the content item should be published.

public DateTime? ScheduledPublishWhen { get; init; }

Property Value

DateTime?

ScheduledUnpublishWhen

Date and time when the content item should be unpublished.

public DateTime? ScheduledUnpublishWhen { get; init; }

Property Value

DateTime?

VersionStatus

Version status in which the language variant was created.

public VersionStatus VersionStatus { get; init; }

Property Value

VersionStatus