Copy() public method

public Copy ( ) : StrongName2
return StrongName2
コード例 #1
0
 public StrongName2 Intersect(StrongName2 target)
 {
     if (target.IsSubsetOf( this ))
         return target.Copy();
     else if (this.IsSubsetOf( target ))
         return this.Copy();
     else
         return null;
 }
コード例 #2
0
 public StrongName2 Intersect(StrongName2 target)
 {
     if (target.IsSubsetOf(this))
     {
         return(target.Copy());
     }
     if (this.IsSubsetOf(target))
     {
         return(this.Copy());
     }
     return((StrongName2)null);
 }