internal MediaJobFinishedEventData(MediaJobState?previousState, MediaJobState?state, IReadOnlyDictionary <string, string> correlationData, IReadOnlyList <MediaJobOutput> outputs) : base(previousState, state, correlationData)
 {
     Outputs = outputs;
 }
 public static MediaJobErroredEventData MediaJobErroredEventData(MediaJobState?previousState, MediaJobState?state, IReadOnlyDictionary <string, string> correlationData, IReadOnlyList <MediaJobOutput> outputs)
 {
     return(MediaJobErroredEventData(previousState, state, correlationData, (IEnumerable <MediaJobOutput>)outputs));
 }
Ejemplo n.º 3
0
 internal MediaJobOutputCanceledEventData(MediaJobState?previousState, MediaJobOutput output, IReadOnlyDictionary <string, string> jobCorrelationData) : base(previousState, output, jobCorrelationData)
 {
 }
 internal MediaJobOutputStateChangeEventData(MediaJobState?previousState, MediaJobOutput output, IReadOnlyDictionary <string, string> jobCorrelationData)
 {
     PreviousState      = previousState;
     Output             = output;
     JobCorrelationData = jobCorrelationData;
 }
Ejemplo n.º 5
0
 internal static string ToSerializedValue(this MediaJobState?value)
 {
     return(value == null ? null : ((MediaJobState)value).ToSerializedValue());
 }
Ejemplo n.º 6
0
 internal MediaJobScheduledEventData(MediaJobState?previousState, MediaJobState?state, IReadOnlyDictionary <string, string> correlationData) : base(previousState, state, correlationData)
 {
 }
 public static MediaJobErroredEventData MediaJobErroredEventData(MediaJobState?previousState = default, MediaJobState?state = default, IReadOnlyDictionary <string, string> correlationData = default, IReadOnlyList <MediaJobOutput> outputs = default)
 {
     correlationData ??= new Dictionary <string, string>();
     outputs ??= new List <MediaJobOutput>();
     return(new MediaJobErroredEventData(previousState, state, correlationData, outputs));
 }
 internal MediaJobStateChangeEventData(MediaJobState?previousState, MediaJobState?state, IReadOnlyDictionary <string, string> correlationData)
 {
     PreviousState   = previousState;
     State           = state;
     CorrelationData = correlationData;
 }