public DropSource(ISupportOleDropSource peer)
 {
     if (peer == null)
     {
         throw new ArgumentNullException("peer");
     }
     this.peer = peer;
 }
예제 #2
0
 public DropSource(ISupportOleDropSource peer)
 {
     if (peer == null)
     {
         throw new ArgumentNullException(nameof(peer));
     }
     this.peer = peer;
 }
예제 #3
0
 public DropSource(ISupportOleDropSource peer)
 {
     _peer = peer.OrThrowIfNull();
 }
예제 #4
0
 public DropSource(ISupportOleDropSource peer)
 {
     _peer = peer ?? throw new ArgumentNullException(nameof(peer));
 }