summaryrefslogtreecommitdiff
path: root/FireBase/Query/IFirebaseQuery.cs
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
committernatrixaeria <janng@gmx.de>2019-05-19 17:40:59 +0200
commit1509b5ef3d7e9e71d9294e234ec0e39f2d831998 (patch)
tree78300ffff230958101b422a4e6026925b287822f /FireBase/Query/IFirebaseQuery.cs
parentc3bb858bb54dc8c64bbd48054c2c58dc0073f09c (diff)
parentc4d046858e0822b7c2c540ac2368b2c0e88e7a26 (diff)
Merge branch 'scribble' of https://github.com/TrueDoctor/DiscoBot into scribble
Diffstat (limited to 'FireBase/Query/IFirebaseQuery.cs')
-rw-r--r--FireBase/Query/IFirebaseQuery.cs39
1 files changed, 18 insertions, 21 deletions
diff --git a/FireBase/Query/IFirebaseQuery.cs b/FireBase/Query/IFirebaseQuery.cs
index 2e8c671..0da4b15 100644
--- a/FireBase/Query/IFirebaseQuery.cs
+++ b/FireBase/Query/IFirebaseQuery.cs
@@ -1,43 +1,40 @@
-namespace Firebase.Database.Query
-{
- using System;
- using System.Collections.Generic;
- using System.Threading.Tasks;
-
- using Firebase.Database.Streaming;
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+using Firebase.Database.Streaming;
+namespace Firebase.Database.Query
+{
/// <summary>
- /// The FirebaseQuery interface.
+ /// The FirebaseQuery interface.
/// </summary>
public interface IFirebaseQuery
{
/// <summary>
- /// Gets the owning client of this query.
+ /// Gets the owning client of this query.
/// </summary>
- FirebaseClient Client
- {
- get;
- }
+ FirebaseClient Client { get; }
/// <summary>
- /// Retrieves items which exist on the location specified by this query instance.
+ /// Retrieves items which exist on the location specified by this query instance.
/// </summary>
/// <param name="timeout"> Optional timeout value. </param>
/// <typeparam name="T"> Type of the items. </typeparam>
- /// <returns> Collection of <see cref="FirebaseObject{T}"/>. </returns>
+ /// <returns> Collection of <see cref="FirebaseObject{T}" />. </returns>
Task<IReadOnlyCollection<FirebaseObject<T>>> OnceAsync<T>(TimeSpan? timeout = null);
/// <summary>
- /// Returns current location as an observable which allows to real-time listening to events from the firebase server.
+ /// Returns current location as an observable which allows to real-time listening to events from the firebase server.
/// </summary>
/// <typeparam name="T"> Type of the items. </typeparam>
- /// <returns> Cold observable of <see cref="FirebaseEvent{T}"/>. </returns>
- IObservable<FirebaseEvent<T>> AsObservable<T>(EventHandler<ExceptionEventArgs<FirebaseException>> exceptionHandler, string elementRoot = "");
+ /// <returns> Cold observable of <see cref="FirebaseEvent{T}" />. </returns>
+ IObservable<FirebaseEvent<T>> AsObservable<T>(
+ EventHandler<ExceptionEventArgs<FirebaseException>> exceptionHandler, string elementRoot = "");
/// <summary>
- /// Builds the actual url of this query.
+ /// Builds the actual url of this query.
/// </summary>
- /// <returns> The <see cref="string"/>. </returns>
+ /// <returns> The <see cref="string" />. </returns>
Task<string> BuildUrlAsync();
}
-}
+} \ No newline at end of file