refactor: renaming namespaces
This commit is contained in:
parent
7a42ce2f00
commit
d35410625a
191 changed files with 315 additions and 314 deletions
1
examples/.gitignore
vendored
Normal file
1
examples/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
artifacts/
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Calendar;
|
namespace MfGames.Nitride.Calendar;
|
||||||
|
|
||||||
public class NitrideCalendarModule : Module
|
public class NitrideCalendarModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Feeds;
|
namespace MfGames.Nitride.Feeds;
|
||||||
|
|
||||||
public class NitrideFeedsModule : Module
|
public class NitrideFeedsModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Gemtext;
|
namespace MfGames.Nitride.Gemtext;
|
||||||
|
|
||||||
public static class NitrideGemtextBuilderExtensions
|
public static class NitrideGemtextBuilderExtensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Gemtext;
|
namespace MfGames.Nitride.Gemtext;
|
||||||
|
|
||||||
public class NitrideGemtextModule : Module
|
public class NitrideGemtextModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Html;
|
namespace MfGames.Nitride.Html;
|
||||||
|
|
||||||
public static class NitrideHtmlBuilderExtensions
|
public static class NitrideHtmlBuilderExtensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Html;
|
namespace MfGames.Nitride.Html;
|
||||||
|
|
||||||
public class NitrideHtmlModule : Module
|
public class NitrideHtmlModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
namespace Nitride.IO;
|
namespace MfGames.Nitride.IO;
|
||||||
|
|
||||||
public enum IfFoundOutput
|
public enum IfFoundOutput
|
||||||
{
|
{
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.IO;
|
namespace MfGames.Nitride.IO;
|
||||||
|
|
||||||
public static class NitrideIOBuilderExtensions
|
public static class NitrideIOBuilderExtensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.IO;
|
namespace MfGames.Nitride.IO;
|
||||||
|
|
||||||
public class NitrideIOModule : Module
|
public class NitrideIOModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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<Entity> for handling direct children lists.
|
/// A wrapper around List<Entity> for handling direct children lists.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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" />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Markdown;
|
namespace MfGames.Nitride.Markdown;
|
||||||
|
|
||||||
public static class NitrideMarkdownBuilderExtensions
|
public static class NitrideMarkdownBuilderExtensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Markdown;
|
namespace MfGames.Nitride.Markdown;
|
||||||
|
|
||||||
public class NitrideMarkdownModule : Module
|
public class NitrideMarkdownModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Nitride.Slugs;
|
namespace MfGames.Nitride.Slugs;
|
||||||
|
|
||||||
public class NitrideSlugsModule : Module
|
public class NitrideSlugsModule : Module
|
||||||
{
|
{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
Reference in a new issue