Browse Source

Added an helper method to check if a field is ignored.

pull/1/head
triton 13 years ago
parent
commit
faa635f065
  1. 7
      src/Generator/Generators/CLI/CLIHelpers.cs

7
src/Generator/Generators/CLI/CLIHelpers.cs

@ -434,6 +434,13 @@ namespace Cxxi.Generators.CLI @@ -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();

Loading…
Cancel
Save