Example #1
0
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: protected java.util.List<org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<?>> lookupSpinSerializers(ClassLoader classLoader)
        protected internal virtual IList <TypedValueSerializer <object> > lookupSpinSerializers(ClassLoader classLoader)
        {
            DataFormats paDataFormats = new DataFormats();

            paDataFormats.registerDataFormats(classLoader);

            // does not create PA-local serializers for native Spin values;
            // this is still an open feature CAM-5246
            return(SpinVariableSerializers.createObjectValueSerializers(paDataFormats));
        }
Example #2
0
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: protected java.util.List<org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<?>> lookupSpinSerializers()
        protected internal virtual IList <TypedValueSerializer <object> > lookupSpinSerializers()
        {
            DataFormats globalFormats = DataFormats.Instance;
//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 = SpinVariableSerializers.createObjectValueSerializers(globalFormats);
            IList <TypedValueSerializer <object> > serializers = SpinVariableSerializers.createObjectValueSerializers(globalFormats);

//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: serializers.addAll(SpinVariableSerializers.createSpinValueSerializers(globalFormats));
            ((IList <TypedValueSerializer <object> >)serializers).AddRange(SpinVariableSerializers.createSpinValueSerializers(globalFormats));

            return(serializers);
        }