예제 #1
0
        public void ServerToClient(WfBranchProcessTemplateCollection server, WfClientBranchProcessTemplateCollection client)
        {
            client.NullCheck("client");
            server.NullCheck("server");

            client.Clear();

            foreach (WfBranchProcessTemplateDescriptor st in server)
            {
                WfClientBranchProcessTemplateDescriptor ct = null;

                WfClientBranchProcessTemplateDescriptorConverter.Instance.ServerToClient(st, ref ct);

                client.Add(ct);
            }
        }
예제 #2
0
        public void ClientToServer(WfClientBranchProcessTemplateCollection client, WfBranchProcessTemplateCollection server)
        {
            client.NullCheck("client");
            server.NullCheck("server");

            server.Clear();

            foreach (WfClientBranchProcessTemplateDescriptor ct in client)
            {
                WfBranchProcessTemplateDescriptor st = null;

                WfClientBranchProcessTemplateDescriptorConverter.Instance.ClientToServer(ct, ref st);

                server.Add(st);
            }
        }