Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | using Com.Piwigo.Lib.DTO; |
---|
6 | |
---|
7 | namespace 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 | aPwgSessionWPF.IsConnected = aPwgSession.IsConnected; |
---|
20 | aPwgSessionWPF.UserName = aPwgSession.UserName; |
---|
21 | aPwgSessionWPF.Status = aPwgSession.Status; |
---|
22 | aPwgSessionWPF.Template = aPwgSession.Template; |
---|
23 | aPwgSessionWPF.Theme = aPwgSession.Theme; |
---|
24 | aPwgSessionWPF.CharSet = aPwgSession.CharSet; |
---|
25 | } |
---|
26 | } |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.