blockly > chuyển đổi tuần tự > quy trình > ProcedureSerializer > (hàm khởi tạo)

serialization.procedures.ProcedureSerializer.(constructor)

Xây dựng bộ chuyển đổi tuần tự quy trình.

Ví dụ về cách sử dụng: — ProcessSerializer(My ProcessModelClass, MyParameterModelClass)

Chữ ký:

constructor(procedureModelClass: ProcedureModelConstructor<ProcedureModel>, parameterModelClass: ParameterModelConstructor<ParameterModel>);

Các tham số

Thông số Loại Nội dung mô tả
procedureModelClass ProcedureModelConstructor<ProcedureModel> Lớp (triển khai IProcessModel) mà bạn muốn trình chuyển đổi tuần tự này giải trình tự.
parameterModelClass ParameterModelConstructor<ParameterModel> Lớp (triển khai IParameterModel) mà bạn muốn trình chuyển đổi tuần tự này giải trình tự.