src/SyncTool.FileSystem/main/Local/LocalItemCreator.cs
/// <summary>
/// Creates the specified file in the specified directory
/// </summary>
Creates the specified file in the specified directory
Creates the specified file in the specified directory
public ILocalFile CreateFile(IFile toCreate, string createIn)
        {
            if (toCreate == null)
            {
                throw new ArgumentNullException(nameof(toCreate));
            }
            VisitDynamic(toCreate, createIn);
            return new LocalFile(null, Path.Combine(createIn, toCreate.Name));
        }
public ILocalFile CreateFile ( IFile toCreate , string createIn ) { if ( toCreate == null ) { throw new ArgumentNullException ( nameof ( toCreate ) ) ; } VisitDynamic ( toCreate , createIn ) ; return new LocalFile ( null , Path . Combine ( createIn , toCreate . Name ) ) ; }
Creates the specified file in the specified directory
Creates the specified file in the specified directory
toCreate
IFile
createIn
string