Esempio n. 1
0
 /// <exception cref="System.IO.IOException"></exception>
 internal void EnsureDirExists(string path)
 {
     Sharpen.IO.File file = new Sharpen.IO.File(path);
     if (!file.Exists())
     {
         file.Mkdirs();
     }
     if (file.Exists() && file.IsDirectory())
     {
     }
     else
     {
         throw new IOException(Db4objects.Db4o.Internal.Messages.Get(37, path));
     }
 }
Esempio n. 2
0
        /// <exception cref="System.IO.IOException"></exception>
        internal void EnsureDirExists(string path)
        {
            var file = new File(path);

            if (!file.Exists())
            {
                file.Mkdirs();
            }
            if (file.Exists() && file.IsDirectory())
            {
            }
            else
            {
                throw new IOException(Messages.Get(37, path));
            }
        }
		/// <exception cref="System.IO.IOException"></exception>
		internal void EnsureDirExists(string path)
		{
			Sharpen.IO.File file = new Sharpen.IO.File(path);
			if (!file.Exists())
			{
				file.Mkdirs();
			}
			if (file.Exists() && file.IsDirectory())
			{
			}
			else
			{
				throw new IOException(Db4objects.Db4o.Internal.Messages.Get(37, path));
			}
		}
Esempio n. 4
0
 /// <exception cref="System.IO.IOException"></exception>
 internal void EnsureDirExists(string path)
 {
     var file = new File(path);
     if (!file.Exists())
     {
         file.Mkdirs();
     }
     if (file.Exists() && file.IsDirectory())
     {
     }
     else
     {
         throw new IOException(Messages.Get(37, path));
     }
 }