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: 9.12.2Syntax
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 fallbakcLanguage, bool active)
Parameters
Type | Name | Description |
---|---|---|
ContentReference | contentLink | The content link. |
System.String | language | The language. |
System.String | replacementLanguage | The replacement language. |
System.String | fallbakcLanguage | The fallbakc language. |
System.Boolean | 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 |
|
ContentLink
Gets the content link.
Declaration
public ContentReference ContentLink { get; }
Property Value
Type | Description |
---|---|
ContentReference |
FallbakcLanguage
Gets the fallbakc language.
Declaration
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 |