Пример #1
0
 public ImportFolderVM(JMMServerBinary.Contract_ImportFolder contract)
 {
     // read only members
     this.ImportFolderID       = contract.ImportFolderID;
     this.ImportFolderName     = contract.ImportFolderName;
     this.ImportFolderLocation = contract.ImportFolderLocation;
     this.IsDropSource         = contract.IsDropSource;
     this.IsDropDestination    = contract.IsDropDestination;
     this.IsWatched            = contract.IsWatched;
 }
Пример #2
0
        public JMMServerBinary.Contract_ImportFolder ToContract()
        {
            JMMServerBinary.Contract_ImportFolder contract = new JMMServerBinary.Contract_ImportFolder();
            contract.ImportFolderID       = this.ImportFolderID;
            contract.ImportFolderName     = this.ImportFolderName;
            contract.ImportFolderLocation = this.ImportFolderLocation;
            contract.IsDropSource         = this.IsDropSource;
            contract.IsDropDestination    = this.IsDropDestination;
            contract.IsWatched            = this.IsWatched;

            return(contract);
        }
Пример #3
0
		public JMMServerBinary.Contract_ImportFolder ToContract()
		{
			JMMServerBinary.Contract_ImportFolder contract = new JMMServerBinary.Contract_ImportFolder();
			contract.ImportFolderID = this.ImportFolderID;
			contract.ImportFolderName = this.ImportFolderName;
			contract.ImportFolderLocation = this.ImportFolderLocation;
			contract.IsDropSource = this.IsDropSource;
			contract.IsDropDestination = this.IsDropDestination;
			contract.IsWatched = this.IsWatched;

			return contract;
		}