C# Class Dynamo.Scheduler.UpdateGraphAsyncTask

Inheritance: AsyncTask
Afficher le fichier Open project: DynamoDS/Dynamo Class Usage Examples

Private Properties

Свойство Type Description
ComputeModifiedNodes IEnumerable
Contains bool
GetDownstreamNodes void
Initialize bool
IsScheduledAfter bool
UpdateGraphAsyncTask System

Méthodes protégées

Méthode Description
CanMergeWithCore ( AsyncTask otherTask ) : TaskMergeInstruction
HandleTaskCompletionCore ( ) : void
HandleTaskExecutionCore ( ) : void

Private Methods

Méthode Description
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

Method Details

CanMergeWithCore() protected méthode

protected CanMergeWithCore ( AsyncTask otherTask ) : TaskMergeInstruction
otherTask AsyncTask
Résultat TaskMergeInstruction

HandleTaskCompletionCore() protected méthode

protected HandleTaskCompletionCore ( ) : void
Résultat void

HandleTaskExecutionCore() protected méthode

protected HandleTaskExecutionCore ( ) : void
Résultat void