AgGateway.ADAPT.ISOv4Plugin.Writers.TaskDocumentWriter.CreateFolderStructure C# (CSharp) Method

CreateFolderStructure() private method

private CreateFolderStructure ( ) : void
return void
        private void CreateFolderStructure()
        {
            var pathParts = BaseFolder.Split(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
            var lastPathPart = pathParts.LastOrDefault();
            if (!string.Equals(lastPathPart, "taskdata", StringComparison.OrdinalIgnoreCase))
                BaseFolder = Path.Combine(BaseFolder, "TASKDATA");

            Directory.CreateDirectory(BaseFolder);
        }