public override bool Equals(object obj) { BlockEventArgs args = obj as BlockEventArgs; return((args == null) ? false : this.piece.Equals(args.piece) && this.id.Equals(args.id) && this.block.Equals(args.block)); }
internal void RaiseBlockRequestCancelled(BlockEventArgs args) { Toolbox.RaiseAsyncEvent <BlockEventArgs>(BlockRequestCancelled, args.TorrentManager, args); }