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/Nitride.Generators/WithPropertyClass.cs
2022-06-05 13:44:51 -05:00

28 lines
756 B
C#

using System.Collections.Generic;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace 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();
}