diff --git a/src/Generator/Driver.cs b/src/Generator/Driver.cs index 6d553e09..e00463ca 100644 --- a/src/Generator/Driver.cs +++ b/src/Generator/Driver.cs @@ -266,6 +266,16 @@ namespace CppSharp public Func GenerateName; public int MaxIndent; public string CommentPrefix; + + public bool IsCSharpGenerator + { + get { return GeneratorKind == LanguageGeneratorKind.CSharp; } + } + + public bool IsCLIGenerator + { + get { return GeneratorKind == LanguageGeneratorKind.CPlusPlusCLI; } + } } public class InvalidOptionException : Exception