src/SyncTool.FileSystem/main/InMemoryDirectory.cs
/// <summary>
/// Adds a file to the directory
/// </summary>
Adds a file to the directory
Adds a file to the directory
protected IFile Add(Func<IDirectory, IFile> createFile)
        {
            var file = createFile(this);
            m_Files.Add(file.Name, file);
            return file;
        }
protected IFile Add ( Func < IDirectory , IFile > createFile ) { var file = createFile ( this ) ; m_Files . Add ( file . Name , file ) ; return file ; }
Adds a file to the directory
Adds a file to the directory
createFile
Func<IDirectory, IFile>