예제 #1
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);
        }
예제 #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;
		}