예제 #1
0
 void ThrowIfItemNotFound()
 {
     if (!_parent.Contains(this))
     {
         throw StreamingErrors.ItemNotFound(this);
     }
 }
예제 #2
0
 void ThrowIfItemNotFound()
 {
     if (!_file.Exists)
     {
         throw StreamingErrors.ItemNotFound(this);
     }
 }