public virtual bool Equals(EntryBase other) { return(Id == other.Id && CreationTime.Equals(other.CreationTime) && LastModified.Equals(other.LastModified) && Title == other.Title && Encrypted == other.Encrypted); }
/// <summary> /// </summary> public bool Equals(CacheFileReference other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(Name, other.Name) && LastModified.Equals(other.LastModified) && Length == other.Length); }
public bool Equals(CacheRequestBase other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(ETag, other.ETag) && MaxAge.Equals(other.MaxAge) && Expires.Equals(other.Expires) && LastModified.Equals(other.LastModified) && CacheControl == other.CacheControl); }
public bool Equals(DeviceSyncDto other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Id == other.Id && string.Equals(ExternalId, other.ExternalId) && string.Equals(Description, other.Description) && LastModified.Equals(other.LastModified) && LastSynced.Equals(other.LastSynced)); }
/// <summary> /// Returns true if AssetFullTextAndPropertySearch instances are equal /// </summary> /// <param name="other">Instance of AssetFullTextAndPropertySearch to be compared</param> /// <returns>Boolean</returns> public bool Equals(AssetFullTextAndPropertySearch other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( SearchString == other.SearchString || SearchString != null && SearchString.Equals(other.SearchString) ) && ( SortingColumn == other.SortingColumn || SortingColumn != null && SortingColumn.Equals(other.SortingColumn) ) && ( TagId == other.TagId || TagId != null && TagId.Equals(other.TagId) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( Latitude == other.Latitude || Latitude != null && Latitude.Equals(other.Latitude) ) && ( Longitude == other.Longitude || Longitude != null && Longitude.Equals(other.Longitude) ) && ( AssetClass == other.AssetClass || AssetClass != null && AssetClass.Equals(other.AssetClass) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Creator == other.Creator || Creator != null && Creator.Equals(other.Creator) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) ) && ( InventoryNumber == other.InventoryNumber || InventoryNumber != null && InventoryNumber.Equals(other.InventoryNumber) ) && ( SerialNumber == other.SerialNumber || SerialNumber != null && SerialNumber.Equals(other.SerialNumber) ) && ( Location == other.Location || Location != null && Location.Equals(other.Location) ) && ( Room == other.Room || Room != null && Room.Equals(other.Room) ) && ( CostCenter == other.CostCenter || CostCenter != null && CostCenter.Equals(other.CostCenter) ) && ( CapitalisationDate == other.CapitalisationDate || CapitalisationDate != null && CapitalisationDate.Equals(other.CapitalisationDate) ) && ( LastInventoryDate == other.LastInventoryDate || LastInventoryDate != null && LastInventoryDate.Equals(other.LastInventoryDate) ) && ( AcquisitionValue == other.AcquisitionValue || AcquisitionValue != null && AcquisitionValue.Equals(other.AcquisitionValue) ) && ( AssetSuperNumber == other.AssetSuperNumber || AssetSuperNumber != null && AssetSuperNumber.Equals(other.AssetSuperNumber) ) && ( Vendor == other.Vendor || Vendor != null && Vendor.Equals(other.Vendor) ) && ( TypeName == other.TypeName || TypeName != null && TypeName.Equals(other.TypeName) ) && ( Plant == other.Plant || Plant != null && Plant.Equals(other.Plant) ) && ( Quantity == other.Quantity || Quantity != null && Quantity.Equals(other.Quantity) ) && ( Unit == other.Unit || Unit != null && Unit.Equals(other.Unit) ) && ( Untaggable == other.Untaggable || Untaggable != null && Untaggable.Equals(other.Untaggable) ) && ( Untagged == other.Untagged || Untagged != null && Untagged.Equals(other.Untagged) ) && ( Page == other.Page || Page != null && Page.Equals(other.Page) ) && ( PageSize == other.PageSize || PageSize != null && PageSize.Equals(other.PageSize) )); }
/// <summary> /// Returns true if InventoryOrderAsset instances are equal /// </summary> /// <param name="other">Instance of InventoryOrderAsset to be compared</param> /// <returns>Boolean</returns> public bool Equals(InventoryOrderAsset other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( InventoryOrderId == other.InventoryOrderId || InventoryOrderId != null && InventoryOrderId.Equals(other.InventoryOrderId) ) && ( Checked == other.Checked || Checked != null && Checked.Equals(other.Checked) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( ChangedBy == other.ChangedBy || ChangedBy != null && ChangedBy.Equals(other.ChangedBy) ) && ( CommentOther == other.CommentOther || CommentOther != null && CommentOther.Equals(other.CommentOther) ) && ( CommentCostCenter == other.CommentCostCenter || CommentCostCenter != null && CommentCostCenter.Equals(other.CommentCostCenter) ) && ( CommentPlant == other.CommentPlant || CommentPlant != null && CommentPlant.Equals(other.CommentPlant) ) && ( CommentLocation == other.CommentLocation || CommentLocation != null && CommentLocation.Equals(other.CommentLocation) ) && ( Status == other.Status || Status != null && Status.Equals(other.Status) ) && ( Asset == other.Asset || Asset != null && Asset.Equals(other.Asset) ) && ( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) )); }
public bool Equals(RegisteredContent other) { return(LastAccess.Equals(other.LastAccess) && LastModified.Equals(other.LastModified) && Attributes == other.Attributes && Length == other.Length); }
/// <summary> /// Returns true if AssetResource instances are equal /// </summary> /// <param name="other">Instance of AssetResource to be compared</param> /// <returns>Boolean</returns> public bool Equals(AssetResource other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) ) && ( TagId == other.TagId || TagId != null && TagId.Equals(other.TagId) ) && ( SecondTagId == other.SecondTagId || SecondTagId != null && SecondTagId.Equals(other.SecondTagId) ) && ( IsUntaggable == other.IsUntaggable || IsUntaggable != null && IsUntaggable.Equals(other.IsUntaggable) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Creator == other.Creator || Creator != null && Creator.Equals(other.Creator) ) && ( InventoryNumber == other.InventoryNumber || InventoryNumber != null && InventoryNumber.Equals(other.InventoryNumber) ) && ( SerialNumber == other.SerialNumber || SerialNumber != null && SerialNumber.Equals(other.SerialNumber) ) && ( Location == other.Location || Location != null && Location.Equals(other.Location) ) && ( Room == other.Room || Room != null && Room.Equals(other.Room) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( CostCenter == other.CostCenter || CostCenter != null && CostCenter.Equals(other.CostCenter) ) && ( CapitalisationDate == other.CapitalisationDate || CapitalisationDate != null && CapitalisationDate.Equals(other.CapitalisationDate) ) && ( LastInventoryDate == other.LastInventoryDate || LastInventoryDate != null && LastInventoryDate.Equals(other.LastInventoryDate) ) && ( AcquisitionValue == other.AcquisitionValue || AcquisitionValue != null && AcquisitionValue.Equals(other.AcquisitionValue) ) && ( AssetSuperNumber == other.AssetSuperNumber || AssetSuperNumber != null && AssetSuperNumber.Equals(other.AssetSuperNumber) ) && ( Vendor == other.Vendor || Vendor != null && Vendor.Equals(other.Vendor) ) && ( TypeName == other.TypeName || TypeName != null && TypeName.Equals(other.TypeName) ) && ( Plant == other.Plant || Plant != null && Plant.Equals(other.Plant) ) && ( AssetClass == other.AssetClass || AssetClass != null && AssetClass.Equals(other.AssetClass) ) && ( Quantity == other.Quantity || Quantity != null && Quantity.Equals(other.Quantity) ) && ( Unit == other.Unit || Unit != null && Unit.Equals(other.Unit) ) && ( DeactivatedOn == other.DeactivatedOn || DeactivatedOn != null && DeactivatedOn.Equals(other.DeactivatedOn) ) && ( IsDeactivated == other.IsDeactivated || IsDeactivated != null && IsDeactivated.Equals(other.IsDeactivated) ) && ( CompanyCodeCurrency == other.CompanyCodeCurrency || CompanyCodeCurrency != null && CompanyCodeCurrency.Equals(other.CompanyCodeCurrency) ) && ( Comment == other.Comment || Comment != null && Comment.Equals(other.Comment) ) && ( ShareTags == other.ShareTags || ShareTags != null && ShareTags.Equals(other.ShareTags) )); }
private bool Equals(IKnowledgeBaseEntry other) { return(KBID == other.KBID && Timestamp.Equals(other.Timestamp) && Context == other.Context && Product == other.Product && Rating_Yes == other.Rating_Yes && Rating_No == other.Rating_No && Rating_Views == other.Rating_Views && LastModified.Equals(other.LastModified) && IsPrivate == other.IsPrivate && Status == other.Status && Priority == other.Priority && Keywords == other.Keywords && Address == other.Address); }
public bool Equals(File other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(string.Equals(FullPath, other.FullPath) && string.Equals(Name, other.Name) && LastModified.Equals(other.LastModified)); }
protected bool Equals(Location other) { return(ChangeFrequency == other.ChangeFrequency && LastModified.Equals(other.LastModified) && Priority.Equals(other.Priority) && Equals(Url, other.Url) && Equals(Metadata, other.Metadata)); }
/// <summary> /// Returns true if Asset instances are equal /// </summary> /// <param name="other">Instance of Asset to be compared</param> /// <returns>Boolean</returns> public bool Equals(Asset other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( TagId == other.TagId || TagId != null && TagId.Equals(other.TagId) ) && ( SecondTagId == other.SecondTagId || SecondTagId != null && SecondTagId.Equals(other.SecondTagId) ) && ( IsUntaggable == other.IsUntaggable || IsUntaggable != null && IsUntaggable.Equals(other.IsUntaggable) ) && ( Latitude == other.Latitude || Latitude != null && Latitude.Equals(other.Latitude) ) && ( Longitude == other.Longitude || Longitude != null && Longitude.Equals(other.Longitude) ) && ( LastModified == other.LastModified || LastModified != null && LastModified.Equals(other.LastModified) ) && ( Created == other.Created || Created != null && Created.Equals(other.Created) ) && ( Creator == other.Creator || Creator != null && Creator.Equals(other.Creator) ) && ( Comment == other.Comment || Comment != null && Comment.Equals(other.Comment) ) && ( ShareTags == other.ShareTags || ShareTags != null && ShareTags.Equals(other.ShareTags) ) && ( SapAsset == other.SapAsset || SapAsset != null && SapAsset.Equals(other.SapAsset) ) && ( AssetNumber == other.AssetNumber || AssetNumber != null && AssetNumber.Equals(other.AssetNumber) ) && ( SubNumber == other.SubNumber || SubNumber != null && SubNumber.Equals(other.SubNumber) ) && ( CompanyCode == other.CompanyCode || CompanyCode != null && CompanyCode.Equals(other.CompanyCode) )); }