public override ICollection Deserialize(SerializationStore store) { if (store == null) { throw new ArgumentNullException("store"); } WorkflowMarkupSerializationStore xomlStore = store as WorkflowMarkupSerializationStore; if (xomlStore == null) { throw new InvalidOperationException(SR.GetString(SR.Error_UnknownSerializationStore)); } return((ICollection)xomlStore.Deserialize(this.serviceProvider)); }
public override ICollection Deserialize(SerializationStore store, IContainer container) { if (store == null) { throw new ArgumentNullException("store"); } if (container == null) { throw new ArgumentNullException("container"); } WorkflowMarkupSerializationStore store2 = store as WorkflowMarkupSerializationStore; if (store2 == null) { throw new InvalidOperationException(SR.GetString("Error_UnknownSerializationStore")); } return(store2.Deserialize(this.serviceProvider, container)); }