Exemple #1
0
        protected override void ResetCore()
        {
            _project = null;
            _parent  = null;

            _tracker  = null;
            _status   = null;
            _priority = null;

            _assignedTo   = null;
            _category     = null;
            _fixedVersion = null;

            _subject     = null;
            _description = null;

            _startDate = null;
            _dueDate   = null;

            _doneRatio      = 0;
            _estimatedHours = 0;

            if (_customFields != null)
            {
                _customFields.Reset();
            }
        }
Exemple #2
0
        protected override void ResetCore()
        {
            _parent = Original.Parent;

            _tracker  = Original.Tracker;
            _status   = Original.Status;
            _priority = Original.Priority;

            _assignedTo   = Original.AssignedTo;
            _category     = Original.Category;
            _fixedVersion = Original.FixedVersion;

            _subject     = Original.Subject;
            _description = Original.Description;
            _notes       = string.Empty;

            _startDate = Original.StartDate;
            _dueDate   = Original.DueDate;

            _doneRatio      = Original.DoneRatio;
            _estimatedHours = Original.EstimatedHours;

            if (_customFields != null)
            {
                _customFields.Reset();
            }
        }