public void StartGivenListProperty(ReportSpecificationSetupList list) { SetCell(namer.GivenListPropertyNameCodeNameToExcelName(list.PropertyName)); Indent(); SetCell(namer.CodeClassNameToExcelName(list.PropertyType)); MoveToNextRow(); }
public void StartGivenListProperty(ReportSpecificationSetupList list) { // It's a shame I can't use a TidyUp type solution to ensure elements are close // I'll have a think about making this possible // Maybe I could return a TidyUp from this function writer.AppendLine(@"<div class='givenList'>"); writer.AppendLine(@"<div class='givenListProperty'>"); writer.AppendLine($@"<span class='propertyName'>{formatter.FormatMethodName(list.PropertyName)}</span>"); writer.AppendLine($@"<span class='propertyType code'>{formatter.FormatValue(list.PropertyType)}</span>"); writer.AppendLine(@"</div>"); }
public void SetUp() { var listPropertyItems = new List <IReportsSpecificationSetup> { new TestReportsSpecificationSetup() .FluentAddValueProperty(PROPERTY1_NAME, PROPERTY1_VALUE1) .FluentAddValueProperty(PROPERTY2_NAME, PROPERTY2_VALUE1), new TestReportsSpecificationSetup() .FluentAddValueProperty(PROPERTY1_NAME, PROPERTY1_VALUE2) .FluentAddValueProperty(PROPERTY2_NAME, PROPERTY2_VALUE2), }; var givenListProperty = new ReportSpecificationSetupList( LIST_PROPERTY_CSHARP_NAME, LIST_PROPERTY_TYPE, listPropertyItems); setupWithListProperty = new TestReportsSpecificationSetup().FluentAddListProperty(givenListProperty); }
public TestReportsSpecificationSetup FluentAddListProperty(ReportSpecificationSetupList listProperty) { AddListProperty(listProperty); return(this); }
public void StartGivenListProperty(ReportSpecificationSetupList list) { WriteLine($"{_formatter.FormatMethodName(list.PropertyName)} {_formatter.FormatSpecificationSpecificClassName(list.PropertyType)}"); Indent(); }
public void EndGivenListProperty(ReportSpecificationSetupList list) { Outdent(); }
public void EndGivenListProperty(ReportSpecificationSetupList list) => writers.ForEach(writer => writer.EndGivenListProperty(list));
public void EndGivenListProperty(ReportSpecificationSetupList list) { writer.AppendLine(@"</div>"); }
public void StartGivenListProperty(ReportSpecificationSetupList list) { }