public ITemporaryDirectory CreateTempDirectory()
        {
            var sysTemp = (InMemoryDirectory)GetTempDirectory();

            var tempDirectory = new InMemoryTemporaryDirectory(this,
                                                               sysTemp.Path.Combine(Path.GetRandomFileName()).FullPath)
            {
                Exists = true,
                Parent = sysTemp
            };

            lock (sysTemp.ChildDirectories)
            {
                sysTemp.ChildDirectories.Add(tempDirectory);
            }
            return(tempDirectory);
        }
		public ITemporaryDirectory CreateTempDirectory()
		{
			var sysTemp = (InMemoryDirectory) GetTempDirectory();

			var tempDirectory = new InMemoryTemporaryDirectory(this,
			                                                   sysTemp.Path.Combine(Path.GetRandomFileName()).FullPath)
				{
					Exists = true,
					Parent = sysTemp
				};
			lock (sysTemp.ChildDirectories)
			{
				sysTemp.ChildDirectories.Add(tempDirectory);
			}
			return tempDirectory;
		}