Interface ICompilerDirective
- Namespace
- Dassie.Extensions
- Assembly
- dc.dll
Represents a custom compiler directive enabled by the ${...} syntax.
public interface ICompilerDirective
- Extension Methods
Properties
Identifier
The name of the compiler directive.
string Identifier { get; }
Property Value
IgnoreArgumentTypes
If true, all arguments will be passed as strings implicitly.
bool IgnoreArgumentTypes { get; }
Property Value
Methods
Invoke(DirectiveContext)
The method that is called when the compiler directive is invoked.
object Invoke(DirectiveContext context)
Parameters
contextDirectiveContextAn object of type DirectiveContext representing the metadata associated with the directive invocation.
Returns
- object
The return value of the invocation.