public static bool Equals (NullableBool a, NullableBool b) { if(a == null || b == null) { return false; } return a.BoolValue == b.BoolValue && a.HasValue == b.HasValue; }
public static bool Equals(NullableBool a, NullableBool b) { if (a == null || b == null) { return(false); } return(a.BoolValue == b.BoolValue && a.HasValue == b.HasValue); }
public BugzillaServiceEntity () { CreateTimer(TimerEntity.DefaultTimerIntervalMinutes); CreateAccept = new NullableBool(); CloseAccept = new NullableBool(); AssignButtonPressed = true; ProjectMappings = new List<BugzillaProjectMapping>(); PriorityMappings = new List<BugzillaPriorityMapping>(); }
public BugzillaServiceEntity() { CreateTimer(TimerEntity.DefaultTimerIntervalMinutes); CloseAccept = new NullableBool(); AssignButtonPressed = true; ProjectMappings = new List <BugzillaProjectMapping>(); PriorityMappings = new List <BugzillaPriorityMapping>(); }
public override bool Equals(object obj) { if (obj == null || GetType() != obj.GetType()) { return(false); } var other = (BugzillaServiceEntity)obj; return(NullableBool.Equals(other.CloseAccept, CloseAccept) && string.Equals(other.CloseFieldId, CloseFieldId) && string.Equals(other.CloseFieldValue, CloseFieldValue) && string.Equals(other.CloseReassignValue, CloseReassignValue) && string.Equals(other.CloseResolveValue, CloseResolveValue) && string.Equals(other.CreateFieldId, CreateFieldId) && string.Equals(other.CreateFieldValue, CreateFieldValue) && string.Equals(other.CreateReassignValue, CreateReassignValue) && string.Equals(other.CreateResolveValue, CreateResolveValue) && string.Equals(other.LinkField, LinkField) && string.Equals(other.Password, Password) && string.Equals(other.UserName, UserName) && string.Equals(other.SearchName, SearchName) && string.Equals(other.SourceName, SourceName) && string.Equals(other.Url, Url) && string.Equals(other.UrlTemplate, UrlTemplate) && string.Equals(other.UrlTitle, UrlTitle) && NullableBool.Equals(other.IgnoreCertificate, IgnoreCertificate)); }
public ChangesetLink() { OnMenu = new NullableBool(); }