C# Класс Dynamo.Scheduler.UpdateGraphAsyncTask

Наследование: AsyncTask
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ComputeModifiedNodes IEnumerable
Contains bool
GetDownstreamNodes void
Initialize bool
IsScheduledAfter bool
UpdateGraphAsyncTask System

Защищенные методы

Метод Описание
CanMergeWithCore ( AsyncTask otherTask ) : TaskMergeInstruction
HandleTaskCompletionCore ( ) : void
HandleTaskExecutionCore ( ) : void

Приватные методы

Метод Описание
ComputeModifiedNodes ( WorkspaceModel workspace ) : IEnumerable

This method is called to gather all the nodes whose cached values should be updated after graph update is done. This set of nodes includes nodes that are explicitly marked as requiring update, as well as all its downstream nodes.

Contains ( UpdateGraphAsyncTask other ) : bool

Returns true if this task's graph sync data is a super set of the other

GetDownstreamNodes ( NodeModel node, ICollection gathered ) : void

Call this method to recursively gather downstream nodes of a given node. Returns only those nodes that are in RUN state.

Initialize ( Dynamo.Engine.EngineController controller, WorkspaceModel workspace ) : bool

This method is called by code that intends to start a graph update. This method is called on the main thread where node collection in a WorkspaceModel can be safely accessed.

IsScheduledAfter ( UpdateGraphAsyncTask other ) : bool
UpdateGraphAsyncTask ( IScheduler scheduler, bool verboseLogging1 ) : System

Описание методов

CanMergeWithCore() защищенный Метод

protected CanMergeWithCore ( AsyncTask otherTask ) : TaskMergeInstruction
otherTask AsyncTask
Результат TaskMergeInstruction

HandleTaskCompletionCore() защищенный Метод

protected HandleTaskCompletionCore ( ) : void
Результат void

HandleTaskExecutionCore() защищенный Метод

protected HandleTaskExecutionCore ( ) : void
Результат void