This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride.Generators/WithPropertyClass.cs

28 lines
764 B
C#

using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace MfGames.Nitride.Generators;
/// <summary>
/// Internal class that consolidates all of the information needed to generate a
/// file.
/// </summary>
internal class WithPropertyClass
{
/// <summary>
/// Gets the syntax for the class declaration.
/// </summary>
public ClassDeclarationSyntax ClassDeclaration { get; set; } = null!;
/// <summary>
/// Gets or sets the namespace associated with the class.
/// </summary>
public string Namespace { get; set; } = null!;
/// <summary>
/// Gets the using statements that are in the class.
/// </summary>
public List<UsingDirectiveSyntax> UsingDirectiveList { get; set; } = new();
}