private void appendBlockConfiguration(AbstractBlockConfiguration block, string blockSpecification)
        {
            writer.Append(KeywordEnum.FOR.ToString()).Append(' ');
            writer.Append(blockSpecification);
            writer.NewLine().Indent();

            foreach (UseClause useClause in block.UseClauses)
            {
                output.writeLibraryUnit(useClause);
            }
            visit(block.ConfigurationItems);

            writer.Dedent().Append(KeywordEnum.END.ToString()).Append(KeywordEnum.FOR.ToString()).Append(";").NewLine();
        }
Beispiel #2
0
 /// <summary>
 /// Creates a configuration.
 /// </summary>
 /// <param name="identifier">the identifier of this configuration</param>
 /// <param name="entity">the entity</param>
 /// <param name="blockConfiguration">the block configuration</param>
 public Configuration(string identifier, Entity entity, AbstractBlockConfiguration blockConfiguration)
 {
     this.identifier         = identifier;
     this.entity             = entity;
     this.blockConfiguration = blockConfiguration;
 }