public static Result operator |(Result x, Result y)
{
if (null == x)
{
throw new ArgumentNullException("x");
}
if (null == y)
{
throw new ArgumentNullException("y");
}
var result = new Result();
result._rebootInitiated = x._rebootInitiated | y._rebootInitiated;
result._rebootRequired = result._rebootInitiated | x._rebootRequired | y._rebootRequired;
return result;
}