Beispiel #1
0
 public bool Equals(OwaAttachmentPolicyData other)
 {
     return(!object.ReferenceEquals(other, null) && (object.ReferenceEquals(other, this) || (SerializableDataBase.ArrayContentsEquals <string>(this.BlockFileTypes, other.BlockFileTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.BlockMimeTypes, other.BlockMimeTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.ForceSaveFileTypes, other.ForceSaveFileTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.ForceSaveMimeTypes, other.ForceSaveMimeTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.AllowFileTypes, other.AllowFileTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.AllowMimeTypes, other.AllowMimeTypes) && this.TreatUnknownTypeAs == other.TreatUnknownTypeAs && this.DirectFileAccessOnPublicComputersEnabled == other.DirectFileAccessOnPublicComputersEnabled && this.DirectFileAccessOnPrivateComputersEnabled == other.DirectFileAccessOnPrivateComputersEnabled && this.ForceWacViewingFirstOnPublicComputers == other.ForceWacViewingFirstOnPublicComputers && this.ForceWacViewingFirstOnPrivateComputers == other.ForceWacViewingFirstOnPrivateComputers && this.WacViewingOnPublicComputersEnabled == other.WacViewingOnPublicComputersEnabled && this.WacViewingOnPrivateComputersEnabled == other.WacViewingOnPrivateComputersEnabled && this.ForceWebReadyDocumentViewingFirstOnPublicComputers == other.ForceWebReadyDocumentViewingFirstOnPublicComputers && this.ForceWebReadyDocumentViewingFirstOnPrivateComputers == other.ForceWebReadyDocumentViewingFirstOnPrivateComputers && this.WebReadyDocumentViewingOnPublicComputersEnabled == other.WebReadyDocumentViewingOnPublicComputersEnabled && this.WebReadyDocumentViewingOnPrivateComputersEnabled == other.WebReadyDocumentViewingOnPrivateComputersEnabled && SerializableDataBase.ArrayContentsEquals <string>(this.WebReadyFileTypes, other.WebReadyFileTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.WebReadyMimeTypes, other.WebReadyMimeTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.WebReadyDocumentViewingSupportedFileTypes, other.WebReadyDocumentViewingSupportedFileTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.WebReadyDocumentViewingSupportedMimeTypes, other.WebReadyDocumentViewingSupportedMimeTypes) && this.WebReadyDocumentViewingForAllSupportedTypes == other.WebReadyDocumentViewingForAllSupportedTypes)));
 }
 public bool Equals(WacConfigData other)
 {
     return(!object.ReferenceEquals(other, null) && (object.ReferenceEquals(other, this) || (SerializableDataBase.ArrayContentsEquals <string>(this.WacViewableFileTypes, other.WacViewableFileTypes) && SerializableDataBase.ArrayContentsEquals <string>(this.WacEditableFileTypes, other.WacEditableFileTypes) && this.IsWacEditingEnabled == other.IsWacEditingEnabled && this.WacDiscoverySucceeded == other.WacDiscoverySucceeded && string.CompareOrdinal(this.OneDriveDocumentsUrl, other.OneDriveDocumentsUrl) == 0 && string.CompareOrdinal(this.OneDriveDocumentsDisplayName, other.OneDriveDocumentsDisplayName) == 0 && this.OneDriveDiscoverySucceeded == other.OneDriveDiscoverySucceeded)));
 }