csharp-sdk-upm/Storage/Internal/Operation/LCDeleteOperation.cs

28 lines
660 B
C#
Raw Normal View History

using System.Collections;
2020-02-20 12:44:33 +08:00
using System.Collections.Generic;
2020-02-19 18:50:51 +08:00
namespace LeanCloud.Storage.Internal.Operation {
2020-02-20 12:44:33 +08:00
internal class LCDeleteOperation : ILCOperation {
internal LCDeleteOperation() {
}
public ILCOperation MergeWithPrevious(ILCOperation previousOp) {
return this;
}
public object Encode() {
2020-02-20 12:44:33 +08:00
return new Dictionary<string, object> {
{ "__op", "Delete" }
};
}
public object Apply(object oldValue, string key) {
return null;
}
public IEnumerable GetNewObjectList() {
return null;
2020-02-19 18:50:51 +08:00
}
}
}