Пример #1
0
 public void AppendItem(StoragePathItem item)
 {
     if (item == null)
         throw new ArgumentNullException("item");
     if (ChildItem != null)
         ChildItem.AppendItem(item);
     else
         ChildItem = item;
 }
 public void AppendItem(StoragePathItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     if (ChildItem != null)
     {
         ChildItem.AppendItem(item);
     }
     else
     {
         ChildItem = item;
     }
 }