Skip to content

Commit

Permalink
refactor(adt): move QueryChargeHelper to root namespace (#12569)
Browse files Browse the repository at this point in the history
  • Loading branch information
David R. Williamson authored Jun 5, 2020
1 parent 2e9a93c commit 9dad78f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public enum ServiceVersion
V2020_05_31_preview = 1,
}
}
public static partial class QueryChargeHelper
{
public static bool TryGetQueryCharge(Azure.Page<string> page, out float queryCharge) { throw null; }
}
public partial class RequestOptions
{
public RequestOptions() { }
Expand Down Expand Up @@ -113,13 +117,6 @@ public TelemetryOptions() { }
public System.DateTimeOffset TimeStamp { get { throw null; } set { } }
}
}
namespace Azure.DigitalTwins.Core.Queries
{
public static partial class QueryChargeHelper
{
public static bool TryGetQueryCharge(Azure.Page<string> page, out float queryCharge) { throw null; }
}
}
namespace Azure.DigitalTwins.Core.Serialization
{
public partial class BasicDigitalTwin : Azure.DigitalTwins.Core.Serialization.ModelProperties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using System.Text.Json;
using System.Threading.Tasks;
using Azure.DigitalTwins.Core.Models;
using Azure.DigitalTwins.Core.Queries;
using Azure.DigitalTwins.Core.Serialization;
using static Azure.DigitalTwins.Core.Samples.SampleLogger;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

using Azure.Core;

namespace Azure.DigitalTwins.Core.Queries
namespace Azure.DigitalTwins.Core
{
/// <summary>
/// A helper class for working with the query APIs for digital twins.
Expand Down

0 comments on commit 9dad78f

Please sign in to comment.