[Serializable]
public sealed class DependentTransaction : Transaction, ISerializable
{
- Transaction parent;
- DependentCloneOption option;
+// Transaction parent;
+// DependentCloneOption option;
bool completed;
internal DependentTransaction (Transaction parent,
DependentCloneOption option)
{
- this.parent = parent;
- this.option = option;
+// this.parent = parent;
+// this.option = option;
}
internal bool Completed {
public void Complete ()
{
throw new NotImplementedException ();
- completed = true;
}
void ISerializable.GetObjectData (SerializationInfo info,
StreamingContext context)
{
- parent = (Transaction) info.GetValue ("parent", typeof (Transaction));
- option = (DependentCloneOption) info.GetValue (
- "option", typeof (DependentCloneOption));
+// parent = (Transaction) info.GetValue ("parent", typeof (Transaction));
+// option = (DependentCloneOption) info.GetValue (
+// "option", typeof (DependentCloneOption));
completed = info.GetBoolean ("completed");
}
}