Table of Contents

Class ReferencedByList

Inheritance
ReferencedByList
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper.Utils
Assembly
TOMWrapper.dll
public class ReferencedByList : IReadOnlyCollection<IDaxDependantObject>, IEnumerable<IDaxDependantObject>, IEnumerable
Extension Methods

Properties

AllColumns

public IEnumerable<CalculatedColumn> AllColumns { get; }

Property Value

Type Description
IEnumerable<CalculatedColumn>

AllMeasures

public IEnumerable<Measure> AllMeasures { get; }

Property Value

Type Description
IEnumerable<Measure>

AllTables

public IEnumerable<CalculatedTable> AllTables { get; }

Property Value

Type Description
IEnumerable<CalculatedTable>

AnyVisible

Iterates the entire dependency tree and determines if any objects referencing the current object (directly or indirectly through other objects) are visible. This may be used, for example, to create a Best Practice Rule that allows you to detect objects that can safely be removed since they do not have any references.

public bool AnyVisible { get; }

Property Value

Type Description
bool

Columns

public IEnumerable<CalculatedColumn> Columns { get; }

Property Value

Type Description
IEnumerable<CalculatedColumn>

Count

public int Count { get; }

Property Value

Type Description
int

Measures

public IEnumerable<Measure> Measures { get; }

Property Value

Type Description
IEnumerable<Measure>

Roles

public IEnumerable<ModelRole> Roles { get; }

Property Value

Type Description
IEnumerable<ModelRole>

Tables

public IEnumerable<CalculatedTable> Tables { get; }

Property Value

Type Description
IEnumerable<CalculatedTable>

Methods

Deep()

Returns all objects that reference the current object (directly or indirectly through other objects).

public HashSet<IDaxDependantObject> Deep()

Returns

Type Description
HashSet<IDaxDependantObject>

GetEnumerator()

public IEnumerator<IDaxDependantObject> GetEnumerator()

Returns

Type Description
IEnumerator<IDaxDependantObject>