Пример #1
0
        public override bool Equals(object obj)
        {
            ProjectFullKey compareKey = obj as ProjectFullKey;

            if (compareKey != null)
            {
                return((compareKey._projectKey == _projectKey) && (compareKey._entryPointKey == _entryPointKey));
            }
            else
            {
                return(false);
            }
        }
Пример #2
0
 internal ProjectStartedEventMinimumFields(int projectKey, int entryPointKey, ProjectStartedEventArgs startedEvent, ProjectStartedEventMinimumFields parentProjectStartedEvent, bool requireTimeStamp)
 {
     _targetNames = startedEvent.TargetNames;
     _projectFile = startedEvent.ProjectFile;
     _showProjectFinishedEvent = false;
     _errorInProject           = false;
     _projectId                 = startedEvent.ProjectId;
     _buildEventContext         = startedEvent.BuildEventContext;
     _parentProjectStartedEvent = parentProjectStartedEvent;
     _projectFullKey            = new ProjectFullKey(projectKey, entryPointKey);
     if (requireTimeStamp)
     {
         _timeStamp = startedEvent.Timestamp;
     }
 }