Class ContentLanguageSettingEventArgs
Event args for ContentLanguageSetting.
Inheritance
System.Object
ContentLanguageSettingEventArgs
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 12.0.3Syntax
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 |
|
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 |
FallbackLanguage
Gets the fallback language.
Declaration
public string FallbackLanguage { 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 |