Class ObjectTypeSequenceAnalyzer
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Provides the sequence of object types ordered by their dependencies. Dependencies are returned before the object type on which they depend on.
[Obsolete("Class was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(30, 0)]
public class ObjectTypeSequenceAnalyzer
- Inheritance
-
objectObjectTypeSequenceAnalyzer
- Extension Methods
Constructors
ObjectTypeSequenceAnalyzer(IObjectTypeFilter)
Creates an instance of ObjectTypeSequenceAnalyzer class.
public ObjectTypeSequenceAnalyzer(IObjectTypeFilter filter)
Parameters
filter
IObjectTypeFilterFiltering logic for the output collection.
ObjectTypeSequenceAnalyzer(IObjectTypeFilter, IEnumerable<string>)
Creates an instance of ObjectTypeSequenceAnalyzer class.
public ObjectTypeSequenceAnalyzer(IObjectTypeFilter filter, IEnumerable<string> types)
Parameters
filter
IObjectTypeFilterFiltering logic for the output collection.
types
IEnumerable<string>Object types to be ordered.
Properties
Log
Log action for individual items. The action is called with three parameters - the log message, indentation level and whether a cycle has been detected.
public Action<string, int, bool> Log { get; set; }
Property Value
- Action<string, int, bool>
Methods
GetSequence()
Gets the ordered sequence of object types
public IEnumerable<ObjectTypeListItem> GetSequence()
Returns
- IEnumerable<ObjectTypeListItem>