November Happy Hour will be moved to Thursday December 5th.

Class ContentLanguageSettingEventArgs

Event args for ContentLanguageSetting.

Inheritance
System.Object
System.EventArgs
ContentLanguageSettingEventArgs
Inherited Members
System.EventArgs.Empty
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
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class ContentLanguageSettingEventArgs : EventArgs
Remarks

Used when ContentLanguageSetting are saved and deleted.

Constructors

ContentLanguageSettingEventArgs(ContentReference, String)

Initializes a new instance of the ContentLanguageSettingEventArgs class.

Declaration
public ContentLanguageSettingEventArgs(ContentReference contentLink, string language)
Parameters
Type Name Description
ContentReference contentLink

The content link.

System.String language

The language.

ContentLanguageSettingEventArgs(ContentReference, String, String, String, Boolean)

Initializes a new instance of the ContentLanguageSettingEventArgs class.

Declaration
public ContentLanguageSettingEventArgs(ContentReference contentLink, string language, string replacementLanguage, string fallbackLanguage, bool active)
Parameters
Type Name Description
ContentReference contentLink

The content link.

System.String language

The language.

System.String replacementLanguage

The replacement language.

System.String fallbackLanguage

The fallback language.

System.Boolean active

true if the ContentLanguageSetting are active.

ContentLanguageSettingEventArgs(ContentLanguageSetting)

Initializes a new instance of the ContentLanguageSettingEventArgs class.

Declaration
public ContentLanguageSettingEventArgs(ContentLanguageSetting setting)
Parameters
Type Name Description
ContentLanguageSetting setting

Properties

Active

Gets a value indicating whether the ContentLanguageSetting is active.

Declaration
public bool Active { get; }
Property Value
Type Description
System.Boolean

true if active; otherwise, false.

Gets the content link.

Declaration
public ContentReference ContentLink { get; }
Property Value
Type Description
ContentReference

FallbackLanguage

Gets the fallback language.

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

FallbakcLanguage

Declaration
[Obsolete("Use FallbackLanguage instead")]
public string FallbakcLanguage { get; }
Property Value
Type Description
System.String

Language

Gets the language.

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

ReplacementLanguage

Gets the replacement language.

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

Extension Methods