Esempio n. 1
0
 protected bool Equals(ClashException other)
 {
     return(FromType == other.FromType &&
            ToType == other.ToType &&
            string.Equals(FromValue, other.FromValue, StringComparison.InvariantCultureIgnoreCase) &&
            string.Equals(ToValue, other.ToValue, StringComparison.InvariantCultureIgnoreCase));
 }
Esempio n. 2
0
 public void Add(ClashException item)
 {
     var entity =
         _dbContext.Find <ClashExceptionEntity>(new object[]
     {
         (item ?? throw new ArgumentNullException(nameof(item))).Id
     }, post => post.IncludeCollection(e => e.ClashExceptionsTimeAndDows));