public void AddFieldDefinition(string fieldName, Type type) { AspNetCore.Reporting.Map.WebForms.Field field = new AspNetCore.Reporting.Map.WebForms.Field(); field.Name = fieldName; field.Type = type; this.FieldDefinitions.Add(field); }
private void CopyFieldToPoint(Shape shape, Symbol symbol, string fieldName) { if (base.m_coreMap.SymbolFields.GetByName(fieldName) == null) { AspNetCore.Reporting.Map.WebForms.Field field = new AspNetCore.Reporting.Map.WebForms.Field(); field.Name = fieldName; field.Type = ((AspNetCore.Reporting.Map.WebForms.Field)base.m_coreMap.ShapeFields.GetByName(fieldName)).Type; base.m_coreMap.SymbolFields.Add(field); } symbol[fieldName] = shape[fieldName]; }