コード例 #1
0
ファイル: WSBConfigModel.cs プロジェクト: fcenobi/WSBManager
 /// <summary>
 /// Creates a new instance of the <see cref="WSBConfigModel"/> class from an existing instance.
 /// </summary>
 /// <param name="wSBConfigModel">A existing instance of the <see cref="WSBConfigModel"/> class</param>
 public WSBConfigModel(WSBConfigModel wSBConfigModel)
 {
     VGpu          = wSBConfigModel.VGpu;
     Networking    = wSBConfigModel.Networking;
     MappedFolders = new List <MappedFolder>(wSBConfigModel.MappedFolders);
     LogonCommand  = new LogonCommand(wSBConfigModel.LogonCommand);
 }
コード例 #2
0
 /// <summary>
 /// Creates a new instance of the <see cref="WSBConfigManagerModel"/> class from a <see cref="WSBConfigModel"> existing instance.
 /// </summary>
 /// <param name="wSBConfigModel">A existing instance of the <see cref="WSBConfigModel"/> class</param>
 public WSBConfigManagerModel(WSBConfigModel wSBConfigModel)
 {
     VGpu                 = wSBConfigModel.VGpu;
     Networking           = wSBConfigModel.Networking;
     MappedFolders        = new List <MappedFolder>(wSBConfigModel.MappedFolders);
     LogonCommand         = new LogonCommand(wSBConfigModel.LogonCommand);
     AudioInput           = wSBConfigModel.AudioInput;
     VideoInput           = wSBConfigModel.VideoInput;
     ProtectedClient      = wSBConfigModel.ProtectedClient;
     PrinterRedirection   = wSBConfigModel.PrinterRedirection;
     ClipboardRedirection = wSBConfigModel.ClipboardRedirection;
     MemoryInMB           = wSBConfigModel.MemoryInMB;
 }
コード例 #3
0
 /// <summary>
 /// Creates a new instance of the <see cref="LogonCommand"/> class from an existing instance.
 /// </summary>
 /// <param name="logonCommand">A existing instance of the <see cref="LogonCommand"/> class</param>
 public LogonCommand(LogonCommand logonCommand)
 {
     Command = logonCommand.Command;
 }