Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ IsFilesSelected.GetHashCode();
         hashCode = (hashCode * 397) ^ IsFoldersSelected.GetHashCode();
         hashCode = (hashCode * 397) ^ IsFilesAndFoldersSelected.GetHashCode();
         hashCode = (hashCode * 397) ^ (InputPath != null ? InputPath.GetHashCode() : 0);
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ IsFilesSelected.GetHashCode();
         hashCode = (hashCode * 397) ^ IsFoldersSelected.GetHashCode();
         hashCode = (hashCode * 397) ^ IsFilesAndFoldersSelected.GetHashCode();
         hashCode = (hashCode * 397) ^ (ServerInputPath != null ? ServerInputPath.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (SharepointSource != null ? SharepointSource.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ SharepointServerResourceId.GetHashCode();
         return(hashCode);
     }
 }