refactor!: moving generator attributes into Nitride.Generators namespace
This commit is contained in:
parent
0a36d70fb0
commit
a5694d0cee
31 changed files with 61 additions and 17 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
|
using MfGames.Nitride.Generators;
|
||||||
|
|
||||||
using NodaTime;
|
using NodaTime;
|
||||||
|
|
||||||
namespace MfGames.Nitride.Temporal;
|
namespace MfGames.Nitride.Temporal;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
{
|
||||||
|
}
|
|
@ -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
|
Reference in a new issue