コード例 #1
0
 /// <summary>
 /// To the network share.
 /// </summary>
 /// <param name="share">The share.</param>
 /// <returns>NetworkShare.</returns>
 private NetworkShare ToNetworkShare(Share share)
 {
     return new NetworkShare
     {
         Name = share.NetName,
         Path = share.Path,
         Remark = share.Remark,
         Server = share.Server,
         ShareType = ToNetworkShareType(share.ShareType)
     };
 }
コード例 #2
0
 /// <summary>
 /// Copy this collection to an array
 /// </summary>
 /// <param name="array"></param>
 /// <param name="index"></param>
 public void CopyTo(Share[] array, int index)
 {
     InnerList.CopyTo(array, index);
 }
コード例 #3
0
 protected void Add(Share share)
 {
     InnerList.Add(share);
 }
コード例 #4
0
 protected void Add(Share share)
 {
     InnerList.Add(share);
 }