doc: live query
parent
2fedc04ac7
commit
765b301d40
|
@ -10,7 +10,7 @@ using LeanCloud.LiveQuery.Internal;
|
||||||
|
|
||||||
namespace LeanCloud.LiveQuery {
|
namespace LeanCloud.LiveQuery {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// LiveQuery
|
/// LCLiveQuery provides the live query in LeanCloud.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class LCLiveQuery {
|
public class LCLiveQuery {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -2,7 +2,15 @@
|
||||||
using LeanCloud.Storage;
|
using LeanCloud.Storage;
|
||||||
|
|
||||||
namespace LeanCloud.LiveQuery {
|
namespace LeanCloud.LiveQuery {
|
||||||
|
/// <summary>
|
||||||
|
/// LCQueryExtension is the extension of query for live query.
|
||||||
|
/// </summary>
|
||||||
public static class LCQueryExtension {
|
public static class LCQueryExtension {
|
||||||
|
/// <summary>
|
||||||
|
/// Subscribes this LCQuery to live query.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="query"></param>
|
||||||
|
/// <returns></returns>
|
||||||
public static async Task<LCLiveQuery> Subscribe(this LCQuery query) {
|
public static async Task<LCLiveQuery> Subscribe(this LCQuery query) {
|
||||||
LCLiveQuery liveQuery = new LCLiveQuery {
|
LCLiveQuery liveQuery = new LCLiveQuery {
|
||||||
Query = query
|
Query = query
|
||||||
|
|
Loading…
Reference in New Issue