csharp-sdk-upm/LiveQuery/Source/AVLiveQueryEventArgs.cs

35 lines
700 B
C#
Raw Normal View History

2019-07-19 15:01:34 +08:00
using System;
using System.Collections.Generic;
using LeanCloud;
using System.Collections;
namespace LeanCloud.LiveQuery
{
/// <summary>
/// AVLiveQuery 回调参数
/// </summary>
public class AVLiveQueryEventArgs<T> : EventArgs
where T : AVObject
{
internal AVLiveQueryEventArgs()
{
}
/// <summary>
/// 更新事件
/// </summary>
public string Scope { get; set; }
/// <summary>
/// 更新字段
/// </summary>
public IEnumerable<string> Keys { get; set; }
/// <summary>
/// 更新数据
/// </summary>
public T Payload { get; set; }
}
}