summaryrefslogtreecommitdiff
path: root/FireBase/Query/ParameterQuery.cs
diff options
context:
space:
mode:
Diffstat (limited to 'FireBase/Query/ParameterQuery.cs')
-rw-r--r--FireBase/Query/ParameterQuery.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/FireBase/Query/ParameterQuery.cs b/FireBase/Query/ParameterQuery.cs
index e3d9717..fb273a3 100644
--- a/FireBase/Query/ParameterQuery.cs
+++ b/FireBase/Query/ParameterQuery.cs
@@ -20,7 +20,7 @@ namespace Firebase.Database.Query
: base(parent, client)
{
this.parameterFactory = parameterFactory;
- this.separator = (this.Parent is ChildQuery) ? "?" : "&";
+ separator = Parent is ChildQuery ? "?" : "&";
}
/// <summary>
@@ -30,7 +30,7 @@ namespace Firebase.Database.Query
/// <returns> The <see cref="string"/>. </returns>
protected override string BuildUrlSegment(FirebaseQuery child)
{
- return $"{this.separator}{this.parameterFactory()}={this.BuildUrlParameter(child)}";
+ return $"{separator}{parameterFactory()}={BuildUrlParameter(child)}";
}
/// <summary>
@@ -40,4 +40,4 @@ namespace Firebase.Database.Query
/// <returns> The <see cref="string"/>. </returns>
protected abstract string BuildUrlParameter(FirebaseQuery child);
}
-}
+} \ No newline at end of file