fix: switching Is* and Has* classes into singletons
All checks were successful
deploy / deploy (push) Successful in 8m29s
All checks were successful
deploy / deploy (push) Successful in 8m29s
This commit is contained in:
parent
8944ae37ab
commit
da16d3f28e
|
@ -90,7 +90,7 @@ public partial class ExecOperation : AsyncOperationBase
|
||||||
CommandResult result = await command.ExecuteAsync(cancellationToken);
|
CommandResult result = await command.ExecuteAsync(cancellationToken);
|
||||||
|
|
||||||
this.logger.Debug(
|
this.logger.Debug(
|
||||||
"Execute: {Command} {Arguments} = {ExitCode}",
|
"Execute non-buffered: {Command} {Arguments} = {ExitCode}",
|
||||||
command.TargetFilePath,
|
command.TargetFilePath,
|
||||||
command.Arguments,
|
command.Arguments,
|
||||||
result.ExitCode
|
result.ExitCode
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
|
using MfGames.Nitride.Generators;
|
||||||
|
|
||||||
namespace MfGames.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
|
||||||
/// it.
|
/// it.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class HasFeed
|
[SingletonComponent]
|
||||||
{
|
public partial class HasFeed { }
|
||||||
public HasFeed() { }
|
|
||||||
|
|
||||||
public static HasFeed Instance { get; } = new();
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
|
using MfGames.Nitride.Generators;
|
||||||
|
|
||||||
namespace MfGames.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
|
||||||
/// has a Handlebars template in it.
|
/// has a Handlebars template in it.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public record HasHandlebarsTemplate
|
[SingletonComponent]
|
||||||
{
|
public partial class HasHandlebarsTemplate { }
|
||||||
public static HasHandlebarsTemplate Instance { get; } = new();
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
|
using MfGames.Nitride.Generators;
|
||||||
|
|
||||||
namespace MfGames.Nitride.Yaml;
|
namespace MfGames.Nitride.Yaml;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A marker class that indicates that entity has a YAML model.
|
/// A marker class that indicates that entity has a YAML model.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public record HasYamlModel
|
[SingletonComponent]
|
||||||
{
|
public partial class HasYamlModel { }
|
||||||
public static HasYamlModel Instance { get; } = new();
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue