Skip to content

Commit

Permalink
LocationQuery overloads
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendy committed Nov 27, 2018
1 parent 7b5b63b commit 32409d3
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions src/Our.Umbraco.Look/Models/LocationQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,16 @@ public class LocationQuery
/// </summary>
public Distance MaxDistance { get; set; } = null;

///// <summary>
/////
///// </summary>
//public LocationQuery()
//{

//}

///// <summary>
/////
///// </summary>
///// <param name="location"></param>
///// <param name="maxDistance"></param>
//public LocationQuery(Location location, Distance maxDistance = null)
//{
// this.Location = location;
// this.MaxDistance = maxDistance;
//}
/// <summary>
///
/// </summary>
/// <param name="location"></param>
/// <param name="maxDistance"></param>
public LocationQuery(Location location = null, Distance maxDistance = null)
{
this.Location = location;
this.MaxDistance = maxDistance;
}

public override bool Equals(object obj)
{
Expand Down

0 comments on commit 32409d3

Please sign in to comment.