Example #1
0
        protected void OnMissingVolume(object sender, MissingVolumeEventArgs e)
        {
            e.ContinueOperation = false;

            if (VolumeMissing != null)
            {
                VolumeMissing(this, e);
            }
        }
Example #2
0
        protected virtual string OnMissingVolume(string volume)
        {
            string result = string.Empty;

            if (this.MissingVolume != null)
            {
                MissingVolumeEventArgs e = new MissingVolumeEventArgs(volume);
                this.MissingVolume(this, e);
                if (e.ContinueOperation)
                {
                    result = e.VolumeName;
                }
            }
            return(result);
        }
Example #3
0
 protected virtual string OnMissingVolume(string volume)
 {
     string result = string.Empty;
     if (this.MissingVolume != null)
     {
         MissingVolumeEventArgs e = new MissingVolumeEventArgs(volume);
         this.MissingVolume(this, e);
         if (e.ContinueOperation)
             result = e.VolumeName;
     }
     return result;
 }
        protected void OnMissingVolume(object sender, MissingVolumeEventArgs e)
        {
            e.ContinueOperation = false;

            if (VolumeMissing != null)
                VolumeMissing(this, e);
        }