source: extensions/PiwigoLib/PiwigoWpf/DTO/Helper/PwgSessionWPFHelper.cs @ 7160

Last change on this file since 7160 was 7160, checked in by bayral, 14 years ago

Connection à partir de wpf

File size: 888 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Com.Piwigo.Lib.DTO;
6
7namespace Com.Piwigo.Wpf.DTO.Helper
8{
9    public static class PwgSessionWPFHelper
10    {
11        public static void AddPwgSessionInfoToPwgSessionWPF(PwgSession aPwgSession, ref PwgSessionWPF aPwgSessionWPF)
12        {
13            if (aPwgSession != null)
14            {
15                if (aPwgSessionWPF == null)
16                {
17                    aPwgSessionWPF = new PwgSessionWPF();
18                }
19                aPwgSession.UserName = aPwgSessionWPF.UserName;
20                aPwgSession.Status = aPwgSessionWPF.Status;
21                aPwgSession.Template = aPwgSessionWPF.Template;
22                aPwgSession.Theme = aPwgSessionWPF.Theme;
23                aPwgSession.CharSet = aPwgSessionWPF.CharSet;
24            }
25        }
26    }
27}
Note: See TracBrowser for help on using the repository browser.