Table of Contents

Class DependsOnList

Inheritance
DependsOnList
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper.Utils
Assembly
TOMWrapper.dll

A DependsOnList holds a dictionary of all objects that a specific opject depends on. Each entry contains a list of ObjectReferences specifying the details of how the object is referenced.

public class DependsOnList : IReadOnlyDictionary<IDaxObject, IImmutableList<ObjectReference>>, IReadOnlyCollection<KeyValuePair<IDaxObject, IImmutableList<ObjectReference>>>, IEnumerable<KeyValuePair<IDaxObject, IImmutableList<ObjectReference>>>, IEnumerable
Extension Methods

Properties

Columns

public IEnumerable<Column> Columns { get; }

Property Value

Type Description
IEnumerable<Column>

Count

public int Count { get; }

Property Value

Type Description
int

this[IDaxObject]

public IImmutableList<ObjectReference> this[IDaxObject key] { get; }

Parameters

Type Name Description
IDaxObject key

Property Value

Type Description
IImmutableList<ObjectReference>

Keys

public IEnumerable<IDaxObject> Keys { get; }

Property Value

Type Description
IEnumerable<IDaxObject>

Measures

public IEnumerable<Measure> Measures { get; }

Property Value

Type Description
IEnumerable<Measure>

Tables

public IEnumerable<Table> Tables { get; }

Property Value

Type Description
IEnumerable<Table>

Values

public IEnumerable<IImmutableList<ObjectReference>> Values { get; }

Property Value

Type Description
IEnumerable<IImmutableList<ObjectReference>>

Methods

ContainsKey(IDaxObject)

public bool ContainsKey(IDaxObject key)

Parameters

Type Name Description
IDaxObject key

Returns

Type Description
bool

Deep()

Returns all objects used by the current object (directly or indirectly through other objects).

public HashSet<IDaxObject> Deep()

Returns

Type Description
HashSet<IDaxObject>

GetEnumerator()

public IEnumerator<KeyValuePair<IDaxObject, IImmutableList<ObjectReference>>> GetEnumerator()

Returns

Type Description
IEnumerator<KeyValuePair<IDaxObject, IImmutableList<ObjectReference>>>

TryGetValue(IDaxObject, out IImmutableList<ObjectReference>)

public bool TryGetValue(IDaxObject key, out IImmutableList<ObjectReference> value)

Parameters

Type Name Description
IDaxObject key
IImmutableList<ObjectReference> value

Returns

Type Description
bool