Table of Contents

Class CalculationHookInfo

Namespace
The.Entities
Assembly
Instagile.dll

An entity type's calculation hooks, and what their [CalculationDependency] and [CalculationResult] declarations say they read and write.

public sealed class CalculationHookInfo
Inheritance
CalculationHookInfo
Inherited Members

Properties

DependencyPaths

The properties which the hooks declare they read, with [CalculationDependency].

public IReadOnlyList<PropertyPath> DependencyPaths { get; }

Property Value

IReadOnlyList<PropertyPath>

HasHooks

Whether the entity class overrides either calculation hook.

public bool HasHooks { get; }

Property Value

bool

HasOnCalculated

Whether the entity class overrides OnCalculatedAsync.

public bool HasOnCalculated { get; }

Property Value

bool

HasOnCalculating

Whether the entity class overrides OnCalculatingAsync.

public bool HasOnCalculating { get; }

Property Value

bool

ResultPaths

The relationship paths through which the hooks declare they write or create other entities, with [CalculationResult].

public IReadOnlyList<RelationshipPath> ResultPaths { get; }

Property Value

IReadOnlyList<RelationshipPath>