From 304437b834e8c87687f68333ae67a13ee1377a73 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Wed, 12 Jun 2019 21:47:51 +0200 Subject: Adjust Codestyle --- dsa/FireBase/Query/AuthQuery.cs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'dsa/FireBase/Query/AuthQuery.cs') diff --git a/dsa/FireBase/Query/AuthQuery.cs b/dsa/FireBase/Query/AuthQuery.cs index 2cfda3c..a3b06bd 100644 --- a/dsa/FireBase/Query/AuthQuery.cs +++ b/dsa/FireBase/Query/AuthQuery.cs @@ -1,12 +1,10 @@ using System; -namespace Firebase.Database.Query -{ +namespace Firebase.Database.Query { /// /// Represents an auth parameter in firebase query, e.g. "?auth=xyz". /// - public class AuthQuery : ParameterQuery - { + public class AuthQuery : ParameterQuery { private readonly Func tokenFactory; /// @@ -16,8 +14,7 @@ namespace Firebase.Database.Query /// The authentication token factory. /// The owner. public AuthQuery(FirebaseQuery parent, Func tokenFactory, FirebaseClient client) : base(parent, - () => client.Options.AsAccessToken ? "access_token" : "auth", client) - { + () => client.Options.AsAccessToken ? "access_token" : "auth", client) { this.tokenFactory = tokenFactory; } @@ -26,8 +23,7 @@ namespace Firebase.Database.Query /// /// The child of this child. /// The . - protected override string BuildUrlParameter(FirebaseQuery child) - { + protected override string BuildUrlParameter(FirebaseQuery child) { return tokenFactory(); } } -- cgit v1.2.3-54-g00ecf