public JobRuntime( IDataFlowConnection connection, DataContractOptions dtoOptions, Japi.Job job, IJobResultReader jobResultReader) { if (connection == null) throw new ArgumentNullException("connection"); if (dtoOptions == null) throw new ArgumentNullException("dtoOptions"); if (job == null) throw new ArgumentNullException("job"); if (jobResultReader == null) throw new ArgumentNullException("job"); this.connection = connection; this.dtoOptions = dtoOptions; this.job = job; this.jobResultReader = jobResultReader; executionSequence = new JobExecutionSequence(this); JobStateIndeterminable(); }
public JsonDataContractSerializer(Type type, DataContractOptions _) { serializer = new DataContractJsonSerializer(type); }
public XmlDataContractSerializer(Type type, DataContractOptions _) { serializer = new DataContractSerializer(type); }
public BinaryFormatSerializer(DataContractOptions _) { serializer = new BinaryFormatter(); }
public XmlFormatSerializer(Type type, DataContractOptions _) { serializer = new XmlSerializer(type); }
public static string Store(DataContractOptions dtoOptions) { return string.Format("{0}:{1}", dtoOptions.Serialization, dtoOptions.Encoding.EncodingName); }