protected virtual void CreateDestMediaIfNotExists()
 {
     lock (_destMediaLock)
     {
         if (Dest == null)
         {
             Dest = (MediaBase)DestDirectory.CreateMedia(DestProperties ?? Source);
         }
     }
 }
Exemple #2
0
 protected void CreateDestMediaIfNotExists()
 {
     lock (_destMediaLock)
     {
         if (_destMedia == null)
         {
             DestMedia = DestDirectory.CreateMedia(DestMediaProperties != null? DestMediaProperties: SourceMedia);
         }
     }
 }