public DropSource(ISupportOleDropSource peer) { if (peer == null) { throw new ArgumentNullException("peer"); } this.peer = peer; }
public DropSource(ISupportOleDropSource peer) { if (peer == null) { throw new ArgumentNullException(nameof(peer)); } this.peer = peer; }
public DropSource(ISupportOleDropSource peer) { _peer = peer.OrThrowIfNull(); }
public DropSource(ISupportOleDropSource peer) { _peer = peer ?? throw new ArgumentNullException(nameof(peer)); }