Beispiel #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)
     };
 }
Beispiel #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);
 }
Beispiel #3
0
 protected void Add(Share share)
 {
     InnerList.Add(share);
 }
Beispiel #4
0
 protected void Add(Share share)
 {
     InnerList.Add(share);
 }