public override int GetHashCode() { int hash = 1; if (ForceUpdate != false) { hash ^= ForceUpdate.GetHashCode(); } if (ServerUri.Length != 0) { hash ^= ServerUri.GetHashCode(); } if (ActualEnvId.Length != 0) { hash ^= ActualEnvId.GetHashCode(); } if (ManifestVersion.Length != 0) { hash ^= ManifestVersion.GetHashCode(); } if (qualityLevel_ != null) { hash ^= QualityLevel.GetHashCode(); } if (ForceUpdateUrl.Length != 0) { hash ^= ForceUpdateUrl.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (LighthouseId.Length != 0) { hash ^= LighthouseId.GetHashCode(); } if (ForceUpdate != false) { hash ^= ForceUpdate.GetHashCode(); } if (resourceDetail_ != null) { hash ^= ResourceDetail.GetHashCode(); } if (Maintenance != false) { hash ^= Maintenance.GetHashCode(); } if (RedirectURL.Length != 0) { hash ^= RedirectURL.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void Test1Async() { try { var username = Configuration["dbuser"]; var password = Configuration["dbpassword"]; var x = new ForceUpdate(username, password, @"C:\Users\kjacobsen\Documents\wim_projects\docs\ss\nss\SSDB\StreamStatsDB_2020-09-03.mdb"); if (x.VerifyLists()) { x.Load(); // x.LoadSqlFiles(@"D:\WiM\GitHub\NSSServices\FU_NSSDB\SQL_files"); } } catch (Exception ex) { Assert.False(true, ex.Message); } }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.index) { hashcode = (hashcode * 397) + Index.GetHashCode(); } if (__isset.forceUpdate) { hashcode = (hashcode * 397) + ForceUpdate.GetHashCode(); } if (__isset.title) { hashcode = (hashcode * 397) + Title.GetHashCode(); } if (__isset.text) { hashcode = (hashcode * 397) + Text.GetHashCode(); } if (__isset.createdTime) { hashcode = (hashcode * 397) + CreatedTime.GetHashCode(); } if (__isset.pictureUrl) { hashcode = (hashcode * 397) + PictureUrl.GetHashCode(); } if (__isset.thumbnailUrl) { hashcode = (hashcode * 397) + ThumbnailUrl.GetHashCode(); } } return(hashcode); }
public override string ToString() { var sb = new StringBuilder("Announcement("); bool __first = true; if (__isset.index) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Index: "); Index.ToString(sb); } if (__isset.forceUpdate) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ForceUpdate: "); ForceUpdate.ToString(sb); } if (Title != null && __isset.title) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Title: "); Title.ToString(sb); } if (Text != null && __isset.text) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("Text: "); Text.ToString(sb); } if (__isset.createdTime) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("CreatedTime: "); CreatedTime.ToString(sb); } if (PictureUrl != null && __isset.pictureUrl) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("PictureUrl: "); PictureUrl.ToString(sb); } if (ThumbnailUrl != null && __isset.thumbnailUrl) { if (!__first) { sb.Append(", "); } __first = false; sb.Append("ThumbnailUrl: "); ThumbnailUrl.ToString(sb); } sb.Append(")"); return(sb.ToString()); }