2015-12-11 03:01:40 +00:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace MultiProjectValidator
|
|
|
|
{
|
|
|
|
public class AnalysisResult
|
|
|
|
{
|
|
|
|
|
2016-01-08 01:10:45 +00:00
|
|
|
private IEnumerable<string> _messages;
|
2015-12-11 03:01:40 +00:00
|
|
|
private bool _passed;
|
|
|
|
|
2016-01-08 01:10:45 +00:00
|
|
|
public AnalysisResult(IEnumerable<string> messages, bool passed)
|
2015-12-11 03:01:40 +00:00
|
|
|
{
|
2015-12-16 22:10:39 +00:00
|
|
|
_messages = messages;
|
|
|
|
_passed = passed;
|
2015-12-11 03:01:40 +00:00
|
|
|
}
|
|
|
|
|
2016-01-08 01:10:45 +00:00
|
|
|
public IEnumerable<string> Messages
|
2015-12-11 03:01:40 +00:00
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return _messages;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public bool Passed
|
|
|
|
{
|
|
|
|
get
|
|
|
|
{
|
|
|
|
return _passed;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|