From 32409d3ec16c708376d456515cc420bc486af410 Mon Sep 17 00:00:00 2001 From: Hendy Date: Tue, 27 Nov 2018 01:39:51 +0000 Subject: [PATCH] LocationQuery overloads --- src/Our.Umbraco.Look/Models/LocationQuery.cs | 28 +++++++------------- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/src/Our.Umbraco.Look/Models/LocationQuery.cs b/src/Our.Umbraco.Look/Models/LocationQuery.cs index 47c9514..cdb93ed 100644 --- a/src/Our.Umbraco.Look/Models/LocationQuery.cs +++ b/src/Our.Umbraco.Look/Models/LocationQuery.cs @@ -12,24 +12,16 @@ public class LocationQuery /// public Distance MaxDistance { get; set; } = null; - ///// - ///// - ///// - //public LocationQuery() - //{ - - //} - - ///// - ///// - ///// - ///// - ///// - //public LocationQuery(Location location, Distance maxDistance = null) - //{ - // this.Location = location; - // this.MaxDistance = maxDistance; - //} + /// + /// + /// + /// + /// + public LocationQuery(Location location = null, Distance maxDistance = null) + { + this.Location = location; + this.MaxDistance = maxDistance; + } public override bool Equals(object obj) {