Table of Contents

Class FullNameInfoObjectCollection<TInfo>

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Collection of GeneralizedInfos indexed by full name of the object

[Obsolete("Class is no longer used by the system and will be removed.")]
[ObsoleteSince(30, 0)]
public class FullNameInfoObjectCollection<TInfo> : InfoObjectCollection<TInfo>, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, IInfoObjectCollection<TInfo>, IInfoObjectCollection, IVirtualTypedCollection, ICMSQueryable<TInfo>, ICMSQueryable, INamedEnumerable<TInfo>, INamedEnumerable, IIndexable<TInfo>, INameIndexable<TInfo>, INameIndexable, IIndexable where TInfo : BaseInfo

Type Parameters

TInfo
Inheritance
object
FullNameInfoObjectCollection<TInfo>
Implements
IIndexable<TInfo>
Inherited Members
Extension Methods

Constructors

FullNameInfoObjectCollection(string, Func<TInfo, string>)

Creates new instance of FullNameInfoObjectCollection<TInfo>.

public FullNameInfoObjectCollection(string objectType, Func<TInfo, string> nameTransformation)

Parameters

objectType string

Object type

nameTransformation Func<TInfo, string>

Transformation function for object to name translation

Exceptions

ArgumentNullException

nameTransformation

Methods

Clone()

Creates the clone of the collection.

public override IInfoObjectCollection<TInfo> Clone()

Returns

IInfoObjectCollection<TInfo>

GetNameWhereCondition(string)

Gets the where condition for the given object name.

public override IWhereCondition GetNameWhereCondition(string name)

Parameters

name string

Object name

Returns

IWhereCondition

GetObjectName(TInfo)

Gets the unique object name from the given object.

public override string GetObjectName(TInfo infoObj)

Parameters

infoObj TInfo

Object

Returns

string