Class TranslationParameters
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Parameters wrapper for methods of TranslationHelper.
public sealed class TranslationParameters
- Inheritance
-
objectTranslationParameters
- Extension Methods
Constructors
TranslationParameters(ObjectTypeInfo)
Constructor
public TranslationParameters(ObjectTypeInfo typeInfo)
Parameters
typeInfo
ObjectTypeInfoObject type
TranslationParameters(TranslationParameters)
Creates a new object that is a copy of the given instance.
public TranslationParameters(TranslationParameters original)
Parameters
original
TranslationParameters
TranslationParameters(string)
Constructor
public TranslationParameters(string objectType)
Parameters
objectType
stringObject type
Properties
ChannelName
The channel name.
public string ChannelName { get; set; }
Property Value
- string
Remarks
Channel name is set when main parent is type of ChannelInfo class. If null or empty, channel object type is not a parent nor dependency.
CodeName
Code name
public string CodeName { get; set; }
Property Value
- string
Guid
Guid
public Guid Guid { get; set; }
Property Value
- Guid
ObjectType
Object type
public string ObjectType { get; }
Property Value
- string
ParentId
Parent object ID
public int ParentId { get; set; }
Property Value
- int
Methods
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
ToString()
Returns text representation
public override string ToString()
Returns
- string