C# 클래스 Autodesk.Workspaces.Utilities

파일 보기 프로젝트 열기: DynamoDS/Dynamo

공개 메소드들

메소드 설명
LoadWorkspaceFromJson ( string json, LibraryServices libraryServices, Dynamo.Engine.EngineController engineController, Dynamo.Scheduler.DynamoScheduler scheduler, NodeFactory factory, bool isTestMode, bool verboseLogging, Dynamo.Core.CustomNodeManager manager ) : WorkspaceModel

Load a WorkspaceModel from json. If the WorkspaceModel is a HomeWorkspaceModel it will be set as the current workspace.

SaveWorkspaceToJson ( WorkspaceModel workspace, LibraryServices libraryServices, Dynamo.Engine.EngineController engineController, Dynamo.Scheduler.DynamoScheduler scheduler, NodeFactory factory, bool isTestMode, bool verboseLogging, Dynamo.Core.CustomNodeManager manager ) : string

Save a Workspace to json.

비공개 메소드들

메소드 설명
ReplaceTypeDeclarations ( string json, bool fromServer = false ) : string

Strips $type references from the generated json, replacing them with type names matching those expected by the server.

메소드 상세

LoadWorkspaceFromJson() 공개 정적인 메소드

Load a WorkspaceModel from json. If the WorkspaceModel is a HomeWorkspaceModel it will be set as the current workspace.
public static LoadWorkspaceFromJson ( string json, LibraryServices libraryServices, Dynamo.Engine.EngineController engineController, Dynamo.Scheduler.DynamoScheduler scheduler, NodeFactory factory, bool isTestMode, bool verboseLogging, Dynamo.Core.CustomNodeManager manager ) : WorkspaceModel
json string
libraryServices LibraryServices
engineController Dynamo.Engine.EngineController
scheduler Dynamo.Scheduler.DynamoScheduler
factory NodeFactory
isTestMode bool
verboseLogging bool
manager Dynamo.Core.CustomNodeManager
리턴 Dynamo.Graph.Workspaces.WorkspaceModel

SaveWorkspaceToJson() 공개 정적인 메소드

Save a Workspace to json.
public static SaveWorkspaceToJson ( WorkspaceModel workspace, LibraryServices libraryServices, Dynamo.Engine.EngineController engineController, Dynamo.Scheduler.DynamoScheduler scheduler, NodeFactory factory, bool isTestMode, bool verboseLogging, Dynamo.Core.CustomNodeManager manager ) : string
workspace Dynamo.Graph.Workspaces.WorkspaceModel
libraryServices LibraryServices
engineController Dynamo.Engine.EngineController
scheduler Dynamo.Scheduler.DynamoScheduler
factory NodeFactory
isTestMode bool
verboseLogging bool
manager Dynamo.Core.CustomNodeManager
리턴 string