//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: public static java.util.List<org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<?>> createSpinValueSerializers(org.camunda.spin.DataFormats dataFormats) public static IList <TypedValueSerializer <object> > createSpinValueSerializers(DataFormats dataFormats) { //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: java.util.List<org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<?>> serializers = new java.util.ArrayList<org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<?>>(); IList <TypedValueSerializer <object> > serializers = new List <TypedValueSerializer <object> >(); if (dataFormats.getDataFormatByName(DataFormats.JSON_DATAFORMAT_NAME) != null) { DataFormat <SpinJsonNode> jsonDataFormat = (DataFormat <SpinJsonNode>)dataFormats.getDataFormatByName(DataFormats.JSON_DATAFORMAT_NAME); serializers.Add(new JsonValueSerializer(jsonDataFormat)); } if (dataFormats.getDataFormatByName(DataFormats.XML_DATAFORMAT_NAME) != null) { DataFormat <SpinXmlElement> xmlDataFormat = (DataFormat <SpinXmlElement>)dataFormats.getDataFormatByName(DataFormats.XML_DATAFORMAT_NAME); serializers.Add(new XmlValueSerializer(xmlDataFormat)); } return(serializers); }