From faa635f0656b775421d835d8fbbbb4db06a7b6c7 Mon Sep 17 00:00:00 2001 From: triton Date: Sun, 20 Jan 2013 13:30:37 +0000 Subject: [PATCH] Added an helper method to check if a field is ignored. --- src/Generator/Generators/CLI/CLIHelpers.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Generator/Generators/CLI/CLIHelpers.cs b/src/Generator/Generators/CLI/CLIHelpers.cs index 38c89c1f..3501ae63 100644 --- a/src/Generator/Generators/CLI/CLIHelpers.cs +++ b/src/Generator/Generators/CLI/CLIHelpers.cs @@ -434,6 +434,13 @@ namespace Cxxi.Generators.CLI return false; } + public static bool CheckIgnoreField(Class @class, Field field) + { + if (field.Ignore) return true; + + return false; + } + public abstract override string FileExtension { get; } protected abstract override void Generate();