예제 #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);
 }