示例#1
0
        public UpmPackOperation(IPackageVersion packageVersion, string destination, Action <string> doneCallbackAction, Action <Error> errorCallbackAction = null)
        {
            onOperationError   += errorCallbackAction;
            onOperationSuccess += doneCallbackAction;
            Source              = packageVersion.packageInfo.resolvedPath;
            Destination         = destination;

            m_Request = Client.Pack(Source, destination);
            UnityEditor.EditorApplication.update += OnProgress;
        }
示例#2
0
 public void RePrintDoc(PackRequest req)
 {
     _packingDAO.RePrintDocs(req.OrderNo, req.Docs);
 }
 public PackRequestHandler(PackRequest Request)
 {
     this.Request = Request;
 }
示例#4
0
        public PackResponse PackScanRequest(PackRequest req)
        {
            PackResponse res = _packingDAO.PackScanRequest(req);

            return(res);
        }
示例#5
0
 public string UnDockContainer(PackRequest req)
 {
     return(_packingDAO.UnDockContainer(req));
 }
示例#6
0
        public PackResponse ValidateRequest(PackRequest request)
        {
            PackResponse res = _packingDAO.ValidateContainer(request);

            return(res);
        }
示例#7
0
 public string EndPackProcess(PackRequest req)
 {
     return(_packingDAO.EndPackProcess(req));
 }
示例#8
0
 public PackResponse PrintDocs(PackRequest req)
 {
     return(_packingDAO.GenAndPrintDocs(req));
 }
示例#9
0
 public static PackResponse Pack(PackRequest request) =>
 Native.Call <PackRequest, PackResponse>(request, Native.didcomm_pack);
示例#10
0
        static void CreatePackage()
        {
            packRequest = Client.Pack("Assets/ReInput/", "Assets/Release/");

            EditorApplication.update += WaitForPacking;
        }