Class MacroDefinition
- Namespace
- ShadowDusk.Core.Preprocessor
- Assembly
- ShadowDusk.Core.dll
A single preprocessor macro definition (a #define) injected into compilation.
public sealed record MacroDefinition : IEquatable<MacroDefinition>
- Inheritance
-
MacroDefinition
- Implements
- Inherited Members
Constructors
MacroDefinition(string, int)
A single preprocessor macro definition (a #define) injected into compilation.
public MacroDefinition(string Name, int Value = 1)
Parameters
Properties
Name
The macro name.
public string Name { get; init; }
Property Value
Value
The integer value; defaults to 1.
public int Value { get; init; }