Table of Contents

Class ResourceStringInfoBase<TInfo, TInfoProviderInterface>

Namespace
CMS.Localization
Assembly
CMS.Globalization.dll

ResourceStringInfo data container class.

[Obsolete("This API was not intended for public use.")]
[ObsoleteSince(29, 1)]
public class ResourceStringInfoBase<TInfo, TInfoProviderInterface> : AbstractInfo<TInfo, TInfoProviderInterface>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject where TInfo : ResourceStringInfoBase<TInfo, TInfoProviderInterface>, new()

Type Parameters

TInfo

Type of info object inheriting this class.

TInfoProviderInterface

Provider interface type for info object management.

Inheritance
object
AbstractInfo<TInfo, TInfoProviderInterface>
ResourceStringInfoBase<TInfo, TInfoProviderInterface>
Implements
Derived
Inherited Members
Extension Methods

Constructors

ResourceStringInfoBase(ObjectTypeInfo)

Constructor - Creates an empty ResourceStringInfo object.

public ResourceStringInfoBase(ObjectTypeInfo typeInfo)

Parameters

typeInfo ObjectTypeInfo

Type info

ResourceStringInfoBase(ObjectTypeInfo, DataRow)

Constructor - Creates a new ResourceStringInfo object from the given DataRow.

public ResourceStringInfoBase(ObjectTypeInfo typeInfo, DataRow dr)

Parameters

typeInfo ObjectTypeInfo

Type info

dr DataRow

DataRow with the object data

Properties

StringGUID

The GUID of the resource string.

[DatabaseField]
public Guid StringGUID { get; set; }

Property Value

Guid

StringID

String ID

[DatabaseField]
public virtual int StringID { get; set; }

Property Value

int

StringIsCustom

String is custom

[DatabaseField]
public virtual bool StringIsCustom { get; set; }

Property Value

bool

StringKey

String key

[DatabaseField]
public virtual string StringKey { get; set; }

Property Value

string