コード例 #1
0
ファイル: Project.cs プロジェクト: nathan313743/FTP-Uploader
        private UploadSession _uploadSession; //Holds the upload session for the project

        #endregion Fields

        #region Constructors

        ///
        /// <summary>
        /// Constructor.  
        /// Used for creating a new project.
        /// </summary>
        /// <param name="_proSettings"> The settings to be used by the project </param>
        public Project(ProjectSettings proSettings, TabPageInterface tabInt)
        {
            _proSettings = proSettings;
              _lstTargets = new List<TargetSettings>();
              _uploadSession = new UploadSession(proSettings, tabInt);
        }
コード例 #2
0
        private List <TargetSettings> _lstTargets; //List of all target IPs

        ///
        /// <summary>
        /// Constructor.
        /// Used for creating a new project.
        /// </summary>
        /// <param name="_proSettings"> The settings to be used by the project </param>
        public Project(ProjectSettings proSettings, TabPageInterface tabInt)
        {
            _proSettings   = proSettings;
            _lstTargets    = new List <TargetSettings>();
            _uploadSession = new UploadSession(proSettings, tabInt);
        }