コード例 #1
0
 /// <summary>
 /// Creates a new object that is a copy of the current instance.
 /// </summary>
 /// <returns>
 /// A new object that is a copy of this instance.
 /// </returns>
 /// <filterpriority>2</filterpriority>
 public object Clone()
 {
     return(_items.Clone());
 }
コード例 #2
0
ファイル: SipUri.cs プロジェクト: jeoffman/SipSharp
 ///<summary>
 ///Creates a new object that is a copy of the current instance.
 ///</summary>
 ///
 ///<returns>
 ///A new object that is a copy of this instance.
 ///</returns>
 ///<filterpriority>2</filterpriority>
 public object Clone()
 {
     return(new SipUri(_scheme, _userName, _password, _domain, _port, (IKeyValueCollection)_parameters.Clone()));
 }