示例#1
0
 internal ProjectStartedEventMinimumFields(int projectKey, int entryPointKey, ProjectStartedEventArgs startedEvent, ProjectStartedEventMinimumFields parentProjectStartedEvent)
 {
     this.targetNames = startedEvent.TargetNames;
     this.projectFile = startedEvent.ProjectFile;
     this.showProjectFinishedEvent = false;
     this.errorInProject           = false;
     this.projectId                 = startedEvent.ProjectId;
     this.buildEventContext         = startedEvent.BuildEventContext;
     this.parentProjectStartedEvent = parentProjectStartedEvent;
     this.projectFullKey            = new ProjectFullKey(projectKey, entryPointKey);
     this.timeStamp                 = startedEvent.Timestamp;
 }
示例#2
0
        public override bool Equals(object obj)
        {
            ProjectFullKey compareKey = obj as ProjectFullKey;

            if (compareKey != null)
            {
                return((compareKey.projectKey == this.projectKey) && (compareKey.entryPointKey == this.entryPointKey));
            }
            else
            {
                return(false);
            }
        }