סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > serialization > נהלים > ProcedureSerializer > טעינה
substituteization.procedures.Procedure מדדיםizer.load() method
מבצע deserialize את המודלים של הנהלים שהוגדרו על ידי המצב הנתון בסביבת העבודה.
Signature:
load(state: State[], workspace: Workspace): void;
פרמטרים
פרמטר |
סוג |
תיאור |
הסמוי הסופי |
מדינה[] |
|
סביבת עבודה |
סביבת עבודה |
|
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-12 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-09-12 (שעון UTC)."],[[["The `serialization.procedures.ProcedureSerializer.load()` method deserializes procedure models, effectively recreating them within a Blockly workspace."],["This method takes an array of procedure state representations (`State[]`) and the target `Workspace` as input to reconstruct the procedures."],["Upon completion, the `load()` method returns `void`, indicating it modifies the workspace directly without providing any explicit output."]]],["The `ProcedureSerializer.load()` method deserializes procedure models into a workspace. It takes an array of `State` objects and a `Workspace` object as input. The method then processes the `State` data to reconstruct and load the defined procedures directly into the specified `Workspace`. This operation results in updating the workspace with the loaded procedure definitions, with no return value.\n"]]