28 lines
660 B
C#
28 lines
660 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace LeanCloud.Storage.Internal.Operation {
|
|||
|
internal class LCDeleteOperation : ILCOperation {
|
|||
|
internal LCDeleteOperation() {
|
|||
|
}
|
|||
|
|
|||
|
public ILCOperation MergeWithPrevious(ILCOperation previousOp) {
|
|||
|
return this;
|
|||
|
}
|
|||
|
|
|||
|
public object Encode() {
|
|||
|
return new Dictionary<string, object> {
|
|||
|
{ "__op", "Delete" }
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
public object Apply(object oldValue, string key) {
|
|||
|
return null;
|
|||
|
}
|
|||
|
|
|||
|
public IEnumerable GetNewObjectList() {
|
|||
|
return null;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|