Method
TryGetKind
static func TryGetKind(macro: IMacroDefinition, out kind: MacroKind) -> bool
Declaring type: MacroFacts
Namespace: Raven.CodeAnalysis.Macros
Assembly: Raven.CodeAnalysis.dll
Source file: MacroFacts.cs
Tries to get the macro category implied by the definition's category-specific interface.
Parameters
| Name | Type | Description |
|---|---|---|
macro |
IMacroDefinition | |
kind |
out MacroKind |
Return value
Boolean
when the definition implements exactly one supported macro category interface; otherwise, .