C# 클래스 Dynamo.Scheduler.UpdateGraphAsyncTask

상속: AsyncTask
파일 보기 프로젝트 열기: DynamoDS/Dynamo 1 사용 예제들

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