refactor!: moving generator attributes into Nitride.Generators namespace

This commit is contained in:
D. Moonfire 2023-01-15 14:08:58 -06:00
parent 0a36d70fb0
commit a5694d0cee
31 changed files with 61 additions and 17 deletions

View file

@ -10,6 +10,7 @@ using Ical.Net.Serialization;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
using MfGames.Nitride.Temporal; using MfGames.Nitride.Temporal;
using NodaTime; using NodaTime;

View file

@ -7,6 +7,7 @@ using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Feeds.Structure; using MfGames.Nitride.Feeds.Structure;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;

View file

@ -1,5 +1,7 @@
using System.Xml.Linq; using System.Xml.Linq;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>

View file

@ -1,6 +1,8 @@
using System; using System;
using System.Xml.Linq; using System.Xml.Linq;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Feeds.Structure; namespace MfGames.Nitride.Feeds.Structure;
/// <summary> /// <summary>

View file

@ -2,6 +2,8 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Xml.Linq; using System.Xml.Linq;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;
using static MfGames.Nitride.Feeds.Structure.XmlConstants; using static MfGames.Nitride.Feeds.Structure.XmlConstants;

View file

@ -7,6 +7,7 @@ using HandlebarsDotNet;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;

View file

@ -5,6 +5,7 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;

View file

@ -7,6 +7,7 @@ using HandlebarsDotNet;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Handlebars; namespace MfGames.Nitride.Handlebars;

View file

@ -9,6 +9,7 @@ using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -8,6 +8,7 @@ using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
using Serilog; using Serilog;

View file

@ -4,6 +4,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Serilog; using Serilog;

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -4,6 +4,7 @@ using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Entities; using MfGames.Nitride.Entities;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -5,6 +5,7 @@ using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Entities; using MfGames.Nitride.Entities;
using MfGames.Nitride.Generators;
using Serilog; using Serilog;

View file

@ -4,6 +4,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -4,6 +4,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -7,6 +7,7 @@ using Markdig;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Markdown; namespace MfGames.Nitride.Markdown;

View file

@ -5,6 +5,7 @@ using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Contents; using MfGames.Nitride.Contents;
using MfGames.Nitride.Generators;
using Zio; using Zio;

View file

@ -5,6 +5,7 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;

View file

@ -1,6 +1,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;

View file

@ -1,5 +1,7 @@
using System; using System;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;
namespace MfGames.Nitride.Temporal; namespace MfGames.Nitride.Temporal;

View file

@ -5,6 +5,7 @@ using System.Text.RegularExpressions;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using NodaTime; using NodaTime;

View file

@ -5,6 +5,7 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
using Serilog; using Serilog;

View file

@ -7,6 +7,7 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Entities; namespace MfGames.Nitride.Entities;

View file

@ -5,6 +5,7 @@ using System.Linq;
using FluentValidation; using FluentValidation;
using MfGames.Gallium; using MfGames.Gallium;
using MfGames.Nitride.Generators;
namespace MfGames.Nitride.Entities; namespace MfGames.Nitride.Entities;

View file

@ -0,0 +1,12 @@
using System;
namespace MfGames.Nitride.Generators;
/// <summary>
/// A marker attribute that indicates that the source generator should
/// automatically create the plumbing for an instance-based flag component.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class SingletonComponentAttribute : Attribute
{
}

View file

@ -1,6 +1,6 @@
using System; using System;
namespace MfGames.Nitride; namespace MfGames.Nitride.Generators;
/// <summary> /// <summary>
/// A marker attribute that indicates that the source generator should /// A marker attribute that indicates that the source generator should