diff --git a/src/MfGames.Nitride.Handlebars/Configuration/ForEachHandlebarsBlock.cs b/src/MfGames.Nitride.Handlebars/Configuration/ForEachHandlebarsBlock.cs index 30881e8..5c4978e 100644 --- a/src/MfGames.Nitride.Handlebars/Configuration/ForEachHandlebarsBlock.cs +++ b/src/MfGames.Nitride.Handlebars/Configuration/ForEachHandlebarsBlock.cs @@ -25,7 +25,10 @@ public class ForEachHandlebarsBlock : HandlebarsBlockBase /// public Action? NothingFound - { get; set; } + { + get; + set; + } /// protected override string HelperName { get; } diff --git a/src/MfGames.Nitride.IO/README.md b/src/MfGames.Nitride.IO/README.md index 2b62695..6ef044f 100644 --- a/src/MfGames.Nitride.IO/README.md +++ b/src/MfGames.Nitride.IO/README.md @@ -4,9 +4,9 @@ This assembly contains the primary system for reading and writing from the disk, along with various processes to manipulate paths. It contains three primary components: -- File System I/O -- Path Normalization -- Disk-Based Content +- File System I/O +- Path Normalization +- Disk-Based Content ## File System I/O diff --git a/src/MfGames.Nitride.Markdown/IdentifyMarkdownFromPath.cs b/src/MfGames.Nitride.Markdown/IdentifyMarkdownFromPath.cs index d6be97d..67e083f 100644 --- a/src/MfGames.Nitride.Markdown/IdentifyMarkdownFromPath.cs +++ b/src/MfGames.Nitride.Markdown/IdentifyMarkdownFromPath.cs @@ -20,10 +20,10 @@ public class IdentifyMarkdownFromPath : IdentifyMarkdown { return (path.GetExtensionWithDot() ?? string.Empty).ToLowerInvariant() switch - { - ".md" => true, - ".markdown" => true, - _ => false, - }; + { + ".md" => true, + ".markdown" => true, + _ => false, + }; } } diff --git a/src/MfGames.Nitride.Yaml/ParseYamlHeader.cs b/src/MfGames.Nitride.Yaml/ParseYamlHeader.cs index 454a267..fc132e1 100644 --- a/src/MfGames.Nitride.Yaml/ParseYamlHeader.cs +++ b/src/MfGames.Nitride.Yaml/ParseYamlHeader.cs @@ -32,7 +32,10 @@ public class ParseYamlHeader : OperationBase public Func? EntityError - { get; set; } + { + get; + set; + } /// /// Gets or sets a value indicating whether the header should be removed diff --git a/src/MfGames.Nitride/Pipelines/PipelineBase.cs b/src/MfGames.Nitride/Pipelines/PipelineBase.cs index 1bf5f30..0e885aa 100644 --- a/src/MfGames.Nitride/Pipelines/PipelineBase.cs +++ b/src/MfGames.Nitride/Pipelines/PipelineBase.cs @@ -16,9 +16,19 @@ public abstract class PipelineBase : IPipeline this.dependencies = new List(); } - public PipelineBase AddDependency(IPipeline pipeline) + /// + /// Adds one or more pipeline dependencies into the current one. All of + /// the dependencies are guaranteed to run before this pipeline's RunAsync + /// is called. + /// + /// The pipelines to add as a dependency. + /// The same object for chaining operations. + public PipelineBase AddDependency(params IPipeline[] pipelines) { - this.dependencies.Add(pipeline); + foreach (IPipeline pipeline in pipelines) + { + this.dependencies.Add(pipeline); + } return this; } diff --git a/src/MfGames.Nitride/ROADMAP.md b/src/MfGames.Nitride/ROADMAP.md index 0d8e157..b5b2761 100644 --- a/src/MfGames.Nitride/ROADMAP.md +++ b/src/MfGames.Nitride/ROADMAP.md @@ -2,8 +2,8 @@ ## Immediate -- Switch the various operations to be async - - ReadFiles - - WriteFiles -- Implement mime type determination -- Implement a convert to text content based on mime type +- Switch the various operations to be async + - ReadFiles + - WriteFiles +- Implement mime type determination +- Implement a convert to text content based on mime type