FluentFs.Core.Directory.SubFolder C# (CSharp) Метод

SubFolder() публичный Метод

Creates a new Directory object for a subdirectory
The folder does not need to exist to use this method
public SubFolder ( string path ) : Directory
path string The subfolder below the current Directory
Результат Directory
        public Directory SubFolder(string path)
        {
            return new Directory(Path.Combine(_path, path));
        }

Usage Example

Пример #1
0
        public DebugBuild()
        {
            _baseDirectory = new Directory(Properties.CurrentDirectory);
            _compileDirectory = _baseDirectory.SubFolder("compile");
            _toolsDirectory = _baseDirectory.SubFolder("tools");

            _outputAssembly = _compileDirectory.File("output.dll");
            _creditCardProcessor = _toolsDirectory.File("CreditCardDevelopment.dll");

            AddTask(Clean);
            AddTask(Compile);
        }
All Usage Examples Of FluentFs.Core.Directory::SubFolder