refactor: renaming namespaces

This commit is contained in:
D. Moonfire 2022-09-06 00:53:22 -05:00
parent 7a42ce2f00
commit d35410625a
191 changed files with 315 additions and 314 deletions

1
examples/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
artifacts/

View File

@ -2,13 +2,13 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Gallium; using MfGames.Gallium;
using Nitride; using MfGames.Nitride;
using Nitride.IO.Contents; using MfGames.Nitride.IO.Contents;
using Nitride.IO.Directories; using MfGames.Nitride.IO.Directories;
using Nitride.IO.Paths; using MfGames.Nitride.IO.Paths;
using Nitride.Pipelines; using MfGames.Nitride.Pipelines;
namespace CopyFiles; namespace CopyFiles;

View File

@ -5,8 +5,8 @@ using Autofac;
using MfGames.IO.Extensions; using MfGames.IO.Extensions;
using Nitride; using MfGames.Nitride;
using Nitride.IO; using MfGames.Nitride.IO;
namespace CopyFiles; namespace CopyFiles;

View File

@ -5,7 +5,7 @@ using CliWrap;
using MfGames.IO.Extensions; using MfGames.IO.Extensions;
using Nitride.Tests; using MfGames.Nitride.Tests;
using Xunit; using Xunit;
using Xunit.Abstractions; using Xunit.Abstractions;

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Calendar; namespace MfGames.Nitride.Calendar;
public class CreateCalendarValidator : AbstractValidator<CreateCalender> public class CreateCalendarValidator : AbstractValidator<CreateCalender>
{ {

View File

@ -4,20 +4,20 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Ical.Net.CalendarComponents; using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes; using Ical.Net.DataTypes;
using Ical.Net.Serialization; using Ical.Net.Serialization;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Nitride.Temporal; using MfGames.Nitride.Temporal;
using NodaTime; using NodaTime;
using Zio; using Zio;
namespace Nitride.Calendar; namespace MfGames.Nitride.Calendar;
/// <summary> /// <summary>
/// Creates an iCalendar file from all the entities passed into the method /// Creates an iCalendar file from all the entities passed into the method

View File

@ -1,4 +1,4 @@
namespace Nitride.Calendar; namespace MfGames.Nitride.Calendar;
/// <summary> /// <summary>
/// A marker component for identifying an entity that represents a calendar. /// A marker component for identifying an entity that represents a calendar.

View File

@ -16,7 +16,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
<PackageReference Include="Ical.Net" Version="4.2.0" /> <PackageReference Include="Ical.Net" Version="4.2.0" />
<PackageReference Include="NodaTime" Version="3.1.0" /> <PackageReference Include="NodaTime" Version="3.1.0" />
<PackageReference Include="Zio" Version="0.15.0" /> <PackageReference Include="Zio" Version="0.15.0" />

View File

@ -1,8 +1,8 @@
using Autofac; using Autofac;
using Nitride.Temporal; using MfGames.Nitride.Temporal;
namespace Nitride.Calendar; namespace MfGames.Nitride.Calendar;
public static class NitrideCalendarBuilderExtensions public static class NitrideCalendarBuilderExtensions
{ {

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Calendar; namespace MfGames.Nitride.Calendar;
public class NitrideCalendarModule : Module public class NitrideCalendarModule : Module
{ {

View File

@ -4,10 +4,10 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Nitride.Feeds.Structure; using MfGames.Nitride.Feeds.Structure;
using NodaTime; using NodaTime;
@ -15,7 +15,7 @@ using Serilog;
using Zio; using Zio;
namespace Nitride.Feeds; namespace MfGames.Nitride.Feeds;
/// <summary> /// <summary>
/// Creates various feeds from the given input. /// Creates various feeds from the given input.

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Feeds; namespace MfGames.Nitride.Feeds;
public class CreateAtomFeedValidator : AbstractValidator<CreateAtomFeed> public class CreateAtomFeedValidator : AbstractValidator<CreateAtomFeed>
{ {

View File

@ -1,4 +1,4 @@
namespace Nitride.Feeds; namespace MfGames.Nitride.Feeds;
/// <summary> /// <summary>
/// A marker component that indicates this entity has a feed associated with /// A marker component that indicates this entity has a feed associated with

View File

@ -1,4 +1,4 @@
namespace Nitride.Feeds; namespace MfGames.Nitride.Feeds;
/// <summary> /// <summary>
/// A marker component that indicates this page is a feed. /// A marker component that indicates this page is a feed.

View File

@ -16,7 +16,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
<PackageReference Include="NodaTime" Version="3.1.0" /> <PackageReference Include="NodaTime" Version="3.1.0" />
<PackageReference Include="Zio" Version="0.15.0" /> <PackageReference Include="Zio" Version="0.15.0" />
</ItemGroup> </ItemGroup>

View File

@ -1,8 +1,8 @@
using Autofac; using Autofac;
using Nitride.Temporal; using MfGames.Nitride.Temporal;
namespace Nitride.Feeds; namespace MfGames.Nitride.Feeds;
public static class NitrideFeedsBuilderExtensions public static class NitrideFeedsBuilderExtensions
{ {

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Feeds; namespace MfGames.Nitride.Feeds;
public class NitrideFeedsModule : Module public class NitrideFeedsModule : Module
{ {

View File

@ -1,6 +1,6 @@
using System.Xml.Linq; using System.Xml.Linq;
namespace Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>
/// The type-safe structure for an author element. /// The type-safe structure for an author element.

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Xml.Linq; using System.Xml.Linq;
namespace Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>
/// The type-safe structure for a entry's category element. /// The type-safe structure for a entry's category element.

View File

@ -4,9 +4,9 @@ using System.Xml.Linq;
using NodaTime; using NodaTime;
using static Nitride.Feeds.Structure.XmlConstants; using static MfGames.Nitride.Feeds.Structure.XmlConstants;
namespace Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>
/// The type-safe structure for an entry in the Atom feed. /// The type-safe structure for an entry in the Atom feed.

View File

@ -3,9 +3,9 @@ using System.Xml.Linq;
using NodaTime; using NodaTime;
using static Nitride.Feeds.Structure.XmlConstants; using static MfGames.Nitride.Feeds.Structure.XmlConstants;
namespace Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>
/// The type-safe structure of the top-level feed. /// The type-safe structure of the top-level feed.

View File

@ -1,6 +1,6 @@
using System.Xml.Linq; using System.Xml.Linq;
namespace Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>
/// Helper methods for working with XML elements. /// Helper methods for working with XML elements.

View File

@ -1,6 +1,6 @@
using System.Xml.Linq; using System.Xml.Linq;
namespace Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>
/// Common constants used while generating feeds. /// Common constants used while generating feeds.

View File

@ -1,4 +1,4 @@
namespace Nitride.Gemtext; namespace MfGames.Nitride.Gemtext;
/// <summary> /// <summary>
/// A marker component for indicating that an entity is Gemtext, the format /// A marker component for indicating that an entity is Gemtext, the format

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Gemtext; namespace MfGames.Nitride.Gemtext;
public static class NitrideGemtextBuilderExtensions public static class NitrideGemtextBuilderExtensions
{ {

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Gemtext; namespace MfGames.Nitride.Gemtext;
public class NitrideGemtextModule : Module public class NitrideGemtextModule : Module
{ {

View File

@ -1,6 +1,6 @@
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis;
namespace Nitride.Generators; namespace MfGames.Nitride.Generators;
/// <summary> /// <summary>
/// Various wrappers around the diagnostics to simplify generation. /// Various wrappers around the diagnostics to simplify generation.

View File

@ -1,4 +1,4 @@
namespace Nitride.Generators; namespace MfGames.Nitride.Generators;
/// <summary> /// <summary>
/// All the error messages produced by the generators. /// All the error messages produced by the generators.

View File

@ -10,7 +10,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.1.0" /> <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" /> <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.1.0" /> <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.1.0" />

View File

@ -2,7 +2,7 @@ using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Nitride.Generators; namespace MfGames.Nitride.Generators;
/// <summary> /// <summary>
/// Internal class that consolidates all of the information needed to generate a /// Internal class that consolidates all of the information needed to generate a

View File

@ -7,7 +7,7 @@ using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text; using Microsoft.CodeAnalysis.Text;
namespace Nitride.Generators; namespace MfGames.Nitride.Generators;
/// <summary> /// <summary>
/// Implements a source generator that creates Set* methods for the various /// Implements a source generator that creates Set* methods for the various

View File

@ -4,7 +4,7 @@ using System.Linq;
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Nitride.Generators; namespace MfGames.Nitride.Generators;
internal class WithPropertySyntaxReceiver : ISyntaxReceiver internal class WithPropertySyntaxReceiver : ISyntaxReceiver
{ {

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using HandlebarsDotNet; using HandlebarsDotNet;
using Nitride.Contents; using MfGames.Nitride.Contents;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
/// <summary> /// <summary>
/// An operation that applies a common or shared template on the content of /// An operation that applies a common or shared template on the content of

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
public class ApplyStyleTemplateValidator : AbstractValidator<ApplyStyleTemplate> public class ApplyStyleTemplateValidator : AbstractValidator<ApplyStyleTemplate>
{ {

View File

@ -2,7 +2,7 @@ using System.IO;
using HandlebarsDotNet; using HandlebarsDotNet;
namespace Nitride.Handlebars.Configuration; namespace MfGames.Nitride.Handlebars.Configuration;
/// <summary> /// <summary>
/// Loads the templates from the given directory. /// Loads the templates from the given directory.

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using HandlebarsDotNet; using HandlebarsDotNet;
namespace Nitride.Handlebars.Configuration; namespace MfGames.Nitride.Handlebars.Configuration;
/// <summary> /// <summary>
/// </summary> /// </summary>

View File

@ -1,6 +1,6 @@
using HandlebarsDotNet; using HandlebarsDotNet;
namespace Nitride.Handlebars.Configuration; namespace MfGames.Nitride.Handlebars.Configuration;
/// <summary> /// <summary>
/// Describes a block helper which can be registered. /// Describes a block helper which can be registered.

View File

@ -1,6 +1,6 @@
using HandlebarsDotNet; using HandlebarsDotNet;
namespace Nitride.Handlebars.Configuration; namespace MfGames.Nitride.Handlebars.Configuration;
/// <summary> /// <summary>
/// Describes a dependency injected loader of templates or modules. /// Describes a dependency injected loader of templates or modules.

View File

@ -4,7 +4,7 @@ using HandlebarsDotNet;
using Open.Threading; using Open.Threading;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
/// <summary> /// <summary>
/// Implements a cache for templates to prevent compiling the same template /// Implements a cache for templates to prevent compiling the same template

View File

@ -1,4 +1,4 @@
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
/// <summary> /// <summary>
/// A marker component that indicates that a given file with text component /// A marker component that indicates that a given file with text component

View File

@ -4,9 +4,9 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
/// <summary> /// <summary>
/// An operation that discovers which text files have a Handlebars template /// An operation that discovers which text files have a Handlebars template

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
public class IdentifyHandlebarsFromComponentValidator : AbstractValidator<IdentifyHandlebarsFromComponent> public class IdentifyHandlebarsFromComponentValidator : AbstractValidator<IdentifyHandlebarsFromComponent>
{ {

View File

@ -1,10 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using Gallium; using MfGames.Gallium;
using Nitride.Contents; using MfGames.Nitride.Contents;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
/// <summary> /// <summary>
/// An operation that discovers which text files have a Handlebars template /// An operation that discovers which text files have a Handlebars template

View File

@ -11,7 +11,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Autofac" Version="6.4.0" /> <PackageReference Include="Autofac" Version="6.4.0" />
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
<PackageReference Include="Handlebars.Net" Version="2.1.2" /> <PackageReference Include="Handlebars.Net" Version="2.1.2" />
<PackageReference Include="NodaTime.Testing" Version="3.1.0" /> <PackageReference Include="NodaTime.Testing" Version="3.1.0" />
<PackageReference Include="Open.Threading" Version="2.2.0" /> <PackageReference Include="Open.Threading" Version="2.2.0" />

View File

@ -3,9 +3,9 @@ using System.Collections.Generic;
using Autofac; using Autofac;
using Nitride.Handlebars.Configuration; using MfGames.Nitride.Handlebars.Configuration;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
public static class NitrideHandlebarsBuilderExtensions public static class NitrideHandlebarsBuilderExtensions
{ {

View File

@ -4,9 +4,9 @@ using Autofac;
using HandlebarsDotNet; using HandlebarsDotNet;
using Nitride.Handlebars.Configuration; using MfGames.Nitride.Handlebars.Configuration;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
public class NitrideHandlebarsModule : Module public class NitrideHandlebarsModule : Module
{ {

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using HandlebarsDotNet; using HandlebarsDotNet;
using Nitride.Contents; using MfGames.Nitride.Contents;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
/// <summary> /// <summary>
/// An operation that uses the content to create a template that is then /// An operation that uses the content to create a template that is then

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;
public class RenderContentTemplateValidator : AbstractValidator<RenderContentTemplate> public class RenderContentTemplateValidator : AbstractValidator<RenderContentTemplate>
{ {

View File

@ -1,11 +1,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Net; using System.Net;
using Gallium; using MfGames.Gallium;
using Nitride.Contents; using MfGames.Nitride.Contents;
namespace Nitride.Html; namespace MfGames.Nitride.Html;
/// <summary> /// <summary>
/// Converts the text input that uses HTML entities and turns them into /// Converts the text input that uses HTML entities and turns them into

View File

@ -1,4 +1,4 @@
namespace Nitride.Html; namespace MfGames.Nitride.Html;
/// <summary> /// <summary>
/// A marker component that indicates that the entity is an HTML file. /// A marker component that indicates that the entity is an HTML file.

View File

@ -25,7 +25,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Html; namespace MfGames.Nitride.Html;
public static class NitrideHtmlBuilderExtensions public static class NitrideHtmlBuilderExtensions
{ {

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Html; namespace MfGames.Nitride.Html;
public class NitrideHtmlModule : Module public class NitrideHtmlModule : Module
{ {

View File

@ -1,10 +1,10 @@
using System.IO; using System.IO;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Zio; using Zio;
namespace Nitride.IO.Contents; namespace MfGames.Nitride.IO.Contents;
/// <summary> /// <summary>
/// Contains a wrapper around a file entry to retrieve the binary data. /// Contains a wrapper around a file entry to retrieve the binary data.

View File

@ -1,11 +1,11 @@
using System.IO; using System.IO;
using System.Text; using System.Text;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Zio; using Zio;
namespace Nitride.IO.Contents; namespace MfGames.Nitride.IO.Contents;
/// <summary> /// <summary>
/// Contains a wrapper around a file entry to retrieve text data. /// Contains a wrapper around a file entry to retrieve text data.

View File

@ -7,13 +7,13 @@ using DotNet.Globbing;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Zio; using Zio;
namespace Nitride.IO.Contents; namespace MfGames.Nitride.IO.Contents;
/// <summary> /// <summary>
/// A module that reads files from the file system and wraps them in an /// A module that reads files from the file system and wraps them in an

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Contents; namespace MfGames.Nitride.IO.Contents;
public class ReadFilesValidator : AbstractValidator<ReadFiles> public class ReadFilesValidator : AbstractValidator<ReadFiles>
{ {

View File

@ -6,15 +6,15 @@ using System.Text;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Serilog; using Serilog;
using Zio; using Zio;
namespace Nitride.IO.Contents; namespace MfGames.Nitride.IO.Contents;
/// <summary> /// <summary>
/// An operation that writes out entities to a file system. /// An operation that writes out entities to a file system.

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Contents; namespace MfGames.Nitride.IO.Contents;
public class WriteFilesValidator : AbstractValidator<WriteFiles> public class WriteFilesValidator : AbstractValidator<WriteFiles>
{ {

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Serilog; using Serilog;
using Zio; using Zio;
namespace Nitride.IO.Directories; namespace MfGames.Nitride.IO.Directories;
/// <summary> /// <summary>
/// A Nitride operation that removes the contents of a directory but not /// A Nitride operation that removes the contents of a directory but not

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Directories; namespace MfGames.Nitride.IO.Directories;
public class ClearDirectoryValidator : AbstractValidator<ClearDirectory> public class ClearDirectoryValidator : AbstractValidator<ClearDirectory>
{ {

View File

@ -1,10 +1,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.IO; namespace MfGames.Nitride.IO;
public abstract class FileSystemOperationBase : IOperation public abstract class FileSystemOperationBase : IOperation
{ {

View File

@ -1,4 +1,4 @@
namespace Nitride.IO; namespace MfGames.Nitride.IO;
public enum IfFoundOutput public enum IfFoundOutput
{ {

View File

@ -11,7 +11,7 @@
<PackageReference Include="Autofac" Version="6.4.0" /> <PackageReference Include="Autofac" Version="6.4.0" />
<PackageReference Include="DotNet.Glob" Version="3.1.3" /> <PackageReference Include="DotNet.Glob" Version="3.1.3" />
<PackageReference Include="FluentValidation" Version="11.1.0" /> <PackageReference Include="FluentValidation" Version="11.1.0" />
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
<PackageReference Include="MAB.DotIgnore" Version="3.0.2" /> <PackageReference Include="MAB.DotIgnore" Version="3.0.2" />
<PackageReference Include="Serilog" Version="2.11.0" /> <PackageReference Include="Serilog" Version="2.11.0" />
<PackageReference Include="Zio" Version="0.15.0" /> <PackageReference Include="Zio" Version="0.15.0" />

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.IO; namespace MfGames.Nitride.IO;
public static class NitrideIOBuilderExtensions public static class NitrideIOBuilderExtensions
{ {

View File

@ -1,12 +1,12 @@
using System.Collections.Generic; using System.Collections.Generic;
using Gallium; using MfGames.Gallium;
using MAB.DotIgnore; using MAB.DotIgnore;
using Zio; using Zio;
namespace Nitride.IO; namespace MfGames.Nitride.IO;
/// <summary> /// <summary>
/// Extension methods for working with paths. /// Extension methods for working with paths.

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.IO; namespace MfGames.Nitride.IO;
public class NitrideIOModule : Module public class NitrideIOModule : Module
{ {

View File

@ -2,11 +2,11 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
[WithProperties] [WithProperties]
public partial class AddPathPrefix : OperationBase public partial class AddPathPrefix : OperationBase

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
public class AddPathPrefixValidator : AbstractValidator<AddPathPrefix> public class AddPathPrefixValidator : AbstractValidator<AddPathPrefix>
{ {

View File

@ -2,11 +2,11 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// Changes the extension of the paths given. /// Changes the extension of the paths given.

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
public class ChangePathExtensionValidator : AbstractValidator<ChangePathExtension> public class ChangePathExtensionValidator : AbstractValidator<ChangePathExtension>
{ {

View File

@ -1,8 +1,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using Gallium; using MfGames.Gallium;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// A wrapper around List&lt;Entity&gt; for handling direct children lists. /// A wrapper around List&lt;Entity&gt; for handling direct children lists.

View File

@ -2,13 +2,13 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Nitride.Entities; using MfGames.Nitride.Entities;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// Implements a scanner that gathers up all the direct child files /// Implements a scanner that gathers up all the direct child files

View File

@ -3,15 +3,15 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Nitride.Entities; using MfGames.Nitride.Entities;
using Serilog; using Serilog;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
[WithProperties] [WithProperties]
public partial class LinkDirectChildren : CreateOrUpdateIndex public partial class LinkDirectChildren : CreateOrUpdateIndex

View File

@ -3,11 +3,11 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// Moves various files to indexes of a direction with the base filename. /// Moves various files to indexes of a direction with the base filename.

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
public class MoveToIndexPathValidator : AbstractValidator<MoveToIndexPath> public class MoveToIndexPathValidator : AbstractValidator<MoveToIndexPath>
{ {

View File

@ -2,11 +2,11 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// An operation that removes a path prefix from the input. /// An operation that removes a path prefix from the input.

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
public class RemovePathPrefixValidator : AbstractValidator<RemovePathPrefix> public class RemovePathPrefixValidator : AbstractValidator<RemovePathPrefix>
{ {

View File

@ -3,11 +3,11 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// A pipeline operation that replaces the UPath of the given entity /// A pipeline operation that replaces the UPath of the given entity

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
public class ReplacePathValidator : AbstractValidator<ReplacePath> public class ReplacePathValidator : AbstractValidator<ReplacePath>
{ {

View File

@ -1,6 +1,6 @@
using Zio; using Zio;
namespace Nitride.IO.Paths; namespace MfGames.Nitride.IO.Paths;
/// <summary> /// <summary>
/// Extension methods for the UPath class. /// Extension methods for the UPath class.

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Markdig; using Markdig;
using Nitride.Contents; using MfGames.Nitride.Contents;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
[WithProperties] [WithProperties]
public abstract partial class ConvertMarkdownToBase : IOperation public abstract partial class ConvertMarkdownToBase : IOperation

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
public class ConvertMarkdownToBaseValidator : AbstractValidator<ConvertMarkdownToBase> public class ConvertMarkdownToBaseValidator : AbstractValidator<ConvertMarkdownToBase>
{ {

View File

@ -2,16 +2,16 @@ using System;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Markdig; using Markdig;
using MfGames.Markdown.Gemtext; using MfGames.Markdown.Gemtext;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Nitride.Gemtext; using MfGames.Nitride.Gemtext;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
/// <summary> /// <summary>
/// Converts the input Markdown files into Gemtext using Markdig and /// Converts the input Markdown files into Gemtext using Markdig and

View File

@ -2,14 +2,14 @@ using System;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Markdig; using Markdig;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Nitride.Html; using MfGames.Nitride.Html;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
/// <summary> /// <summary>
/// Converts the input Markdown files into HTML using Markdig. This only /// Converts the input Markdown files into HTML using Markdig. This only

View File

@ -3,13 +3,13 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Nitride.Contents; using MfGames.Nitride.Contents;
using Zio; using Zio;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
/// <summary> /// <summary>
/// An operation that identifies Markdown files by their common extensions /// An operation that identifies Markdown files by their common extensions

View File

@ -1,10 +1,10 @@
using FluentValidation; using FluentValidation;
using Gallium; using MfGames.Gallium;
using Zio; using Zio;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
public class IdentifyMarkdownFromPath : IdentifyMarkdown public class IdentifyMarkdownFromPath : IdentifyMarkdown
{ {

View File

@ -1,6 +1,6 @@
using FluentValidation; using FluentValidation;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
public class IdentifyMarkdownValidator : AbstractValidator<IdentifyMarkdown> public class IdentifyMarkdownValidator : AbstractValidator<IdentifyMarkdown>
{ {

View File

@ -1,4 +1,4 @@
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
/// <summary> /// <summary>
/// A marker class that indicates that the file is a Markdown file. /// A marker class that indicates that the file is a Markdown file.

View File

@ -16,7 +16,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Gallium" Version="1.4.0" /> <PackageReference Include="MfGames.Gallium" Version="0.2.0" />
<PackageReference Include="Markdig" Version="0.30.2" /> <PackageReference Include="Markdig" Version="0.30.2" />
<PackageReference Include="MfGames.Markdown.Gemtext" Version="1.2.1" /> <PackageReference Include="MfGames.Markdown.Gemtext" Version="1.2.1" />
<PackageReference Include="Zio" Version="0.15.0" /> <PackageReference Include="Zio" Version="0.15.0" />

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
public static class NitrideMarkdownBuilderExtensions public static class NitrideMarkdownBuilderExtensions
{ {

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Markdown; namespace MfGames.Nitride.Markdown;
public class NitrideMarkdownModule : Module public class NitrideMarkdownModule : Module
{ {

View File

@ -1,4 +1,4 @@
namespace Nitride.Slugs; namespace MfGames.Nitride.Slugs;
/// <summary> /// <summary>
/// An interface that provides slugs for various paths. /// An interface that provides slugs for various paths.

View File

@ -2,7 +2,7 @@ using System;
using Autofac; using Autofac;
namespace Nitride.Slugs; namespace MfGames.Nitride.Slugs;
public static class NitrideSlugsBuilderExtensions public static class NitrideSlugsBuilderExtensions
{ {

View File

@ -1,6 +1,6 @@
using Autofac; using Autofac;
namespace Nitride.Slugs; namespace MfGames.Nitride.Slugs;
public class NitrideSlugsModule : Module public class NitrideSlugsModule : Module
{ {

View File

@ -5,7 +5,7 @@ using System.Linq;
using Slugify; using Slugify;
namespace Nitride.Slugs; namespace MfGames.Nitride.Slugs;
/// <summary> /// <summary>
/// A default implementation of ISlugProvider. /// A default implementation of ISlugProvider.

View File

@ -4,7 +4,7 @@ using System.Globalization;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
namespace Nitride.Slugs; namespace MfGames.Nitride.Slugs;
/// <summary> /// <summary>
/// Extends the slug provider to strip out accented characters for /// Extends the slug provider to strip out accented characters for

View File

@ -1,4 +1,4 @@
namespace Nitride.Temporal; namespace MfGames.Nitride.Temporal;
/// <summary> /// <summary>
/// A marker component for identifying a post that can expire. /// A marker component for identifying a post that can expire.

View File

@ -3,14 +3,14 @@ using System.CommandLine;
using System.CommandLine.Invocation; using System.CommandLine.Invocation;
using System.Globalization; using System.Globalization;
using Nitride.Commands; using MfGames.Nitride.Commands;
using NodaTime; using NodaTime;
using NodaTime.Testing; using NodaTime.Testing;
using Serilog; using Serilog;
namespace Nitride.Temporal.Cli; namespace MfGames.Nitride.Temporal.Cli;
/// <summary> /// <summary>
/// A factory to inject the "--date=XXXX-XX-XX" argument into the build /// A factory to inject the "--date=XXXX-XX-XX" argument into the build

View File

@ -2,7 +2,7 @@ using System.CommandLine;
using System.CommandLine.Invocation; using System.CommandLine.Invocation;
using System.Globalization; using System.Globalization;
using Nitride.Commands; using MfGames.Nitride.Commands;
using NodaTime; using NodaTime;
@ -10,7 +10,7 @@ using Serilog;
using TimeSpanParserUtil; using TimeSpanParserUtil;
namespace Nitride.Temporal.Cli; namespace MfGames.Nitride.Temporal.Cli;
/// <summary> /// <summary>
/// A factory to inject the "--expires=XXXX" argument into the build /// A factory to inject the "--expires=XXXX" argument into the build

Some files were not shown because too many files have changed in this diff Show More