public static IMetadataBuilder AddGrid(this IMetadataBuilder builder, int column, int row)
 {
     Ensure.NotNull(builder, "builder");
     return(builder
            .AddGridColumn(column)
            .AddGridRow(row));
 }
Beispiel #2
0
        public void Apply(IMetadataBuilder builder)
        {
            if (column != null)
            {
                builder.AddGridColumn(column.Value);
            }

            if (row != null)
            {
                builder.AddGridRow(row.Value);
            }
        }