Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d580f5e
initial updates
m-redding Oct 15, 2024
1783cbb
Merge branch 'Azure:main' into net8update
m-redding Oct 21, 2024
a5603a2
core libraries
m-redding Oct 21, 2024
70be1f5
provisioning
m-redding Oct 21, 2024
5e5a77d
servicebus
m-redding Oct 21, 2024
40d8b7a
communication
m-redding Oct 21, 2024
2360b14
hold off on API generation
m-redding Oct 21, 2024
26d0a84
one more
m-redding Oct 21, 2024
ed1fc69
move API compat change to be in Directory build common props instead
m-redding Oct 21, 2024
58578aa
identity
m-redding Oct 21, 2024
25e4c63
eventhub
m-redding Oct 21, 2024
360f83a
attestation
m-redding Oct 21, 2024
cfdd05a
tables
m-redding Oct 21, 2024
31267bb
translation
m-redding Oct 21, 2024
92fd10d
batch
m-redding Oct 21, 2024
55ac13b
tables/storage
m-redding Oct 21, 2024
1633a89
temp
m-redding Oct 24, 2024
754c384
open AI fixes
m-redding Oct 25, 2024
d4b6232
open AI fixes
m-redding Oct 28, 2024
0915eec
more fixes
m-redding Oct 28, 2024
1419c0e
Merge branch 'Azure:main' into net8update
m-redding Oct 28, 2024
6ac9055
updates
m-redding Oct 28, 2024
45bccb4
few more exceptions
m-redding Oct 28, 2024
ca726a9
feedback p1
m-redding Oct 30, 2024
6d31953
feedback 2
m-redding Nov 4, 2024
70ce543
more feedback
m-redding Nov 4, 2024
ce4e25a
more updates
m-redding Nov 4, 2024
e736815
fixes
m-redding Nov 4, 2024
dc99086
Merge branch 'Azure:main' into net8update
m-redding Nov 4, 2024
1f1178e
provisioning fix
m-redding Nov 4, 2024
f9bd411
playwright testing fb
m-redding Nov 4, 2024
caf33b6
Merge branch 'Azure:main' into net8update
m-redding Nov 7, 2024
0a8b2dd
fixes
m-redding Nov 7, 2024
f092c0d
feedback
m-redding Nov 13, 2024
daf5b7a
Merge branch 'Azure:main' into net8update
m-redding Nov 13, 2024
6381bfc
updates
m-redding Nov 13, 2024
1b1fc6c
fix
m-redding Nov 13, 2024
0dc4a5b
updates
m-redding Nov 13, 2024
f1289c6
fix
m-redding Nov 13, 2024
1dbeb1d
Merge branch 'main' into net8update
m-redding Nov 13, 2024
03533bc
another fix
m-redding Nov 14, 2024
83b7539
fb
m-redding Nov 14, 2024
ca4062b
Merge branch 'main' into net8update
m-redding Nov 15, 2024
316a658
Merge branch 'main' into net8update
m-redding Nov 15, 2024
6e1bc99
feedback and get latest changes
m-redding Nov 15, 2024
f1c958c
Merge branch 'Azure:main' into net8update
m-redding Nov 18, 2024
634bf0d
maps
m-redding Nov 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feedback and get latest changes
  • Loading branch information
m-redding committed Nov 15, 2024
commit 6e1bc99ec5d71600e0a807c5c6120fa219a0ca39
2 changes: 1 addition & 1 deletion eng/Directory.Build.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<!-- Setup default project properties -->
<PropertyGroup>
<LangVersion>12.0</LangVersion>
<LangVersion>latest</LangVersion>
<!--
Disable NU5105 NuGet Pack warning that the version is SemVer 2.0.
SemVer 2.0 is supported by NuGet since 3.0.0 (July 2015) in some capacity, and fully since 3.5.0 (October 2016).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ internal bool TryGetAndRemoveEvent(Func<CallAutomationEventBase, bool> predicate
{
// Match any event that matches in the events backlog
var matchingKvp = _eventBacklog.FirstOrDefault(kvp => predicate(kvp.Value.Item1));
matchingEvent = default;

// Try remove the item - if successful, return it as keyValuePair
if (matchingKvp.Key != default && _eventBacklog.TryRemove(matchingKvp.Key, out var returnedValue))
{
matchingEvent = new KeyValuePair<string, CallAutomationEventBase>(matchingKvp.Key, returnedValue.Item1);
matchingEvent = new KeyValuePair<string, CallAutomationEventBase>(matchingEvent.Key, returnedValue.Item1);
return true;
}
else
{
matchingEvent = default;
return false;
}
}
Expand Down
10 changes: 10 additions & 0 deletions sdk/maps/Azure.Maps.Search/src/MapsSearchClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ public virtual async Task<Response<Boundary>> GetPolygonAsync(GetPolygonOptions
}

IEnumerable<double> coordinates = null;
#pragma warning disable CS8073 // The result of the expression is always true in .NET 8, but not this is not true in netstandard2.0
if (options.Coordinates != null)
#pragma warning restore CS8073
{
coordinates = coordinates = new[]
{
Expand Down Expand Up @@ -310,7 +312,9 @@ public virtual Response<Boundary> GetPolygon(GetPolygonOptions options = null, C
}

IEnumerable<double> coordinates = null;
#pragma warning disable CS8073 // The result of the expression is always true in .NET 8, but not this is not true in netstandard2.0
if (options.Coordinates != null)
#pragma warning restore CS8073
{
coordinates = new[] { (double)options.Coordinates.Longitude, (double)options.Coordinates.Latitude };
}
Expand Down Expand Up @@ -344,7 +348,9 @@ public virtual async Task<Response<GeocodingResponse>> GetReverseGeocodingAsync(
}

IEnumerable<double> coordinatesList = null;
#pragma warning disable CS8073 // The result of the expression is always true in .NET 8, but not this is not true in netstandard2.0
if (coordinates != null)
#pragma warning restore CS8073
{
coordinatesList = new[] { coordinates.Longitude, coordinates.Latitude };
}
Expand Down Expand Up @@ -378,7 +384,9 @@ public virtual Response<GeocodingResponse> GetReverseGeocoding(GeoPosition coord
}

IEnumerable<double> coordinatesList = null;
#pragma warning disable CS8073 // The result of the expression is always true in .NET 8, but not this is not true in netstandard2.0
if (coordinates != null)
#pragma warning restore CS8073
{
coordinatesList = new[] { coordinates.Longitude, coordinates.Latitude };
}
Expand Down Expand Up @@ -464,7 +472,9 @@ private static ReverseGeocodingBatchRequestBody reverseGeocodingQueriesReversToG
{
ReverseGeocodingBatchRequestItem item = new ReverseGeocodingBatchRequestItem();
item.OptionalId = query.OptionalId;
#pragma warning disable CS8073 // The result of the expression is always true in .NET 8, but not this is not true in netstandard2.0
if (query.Coordinates != null)
#pragma warning restore CS8073
{
item.Coordinates = new GeoPosition(Convert.ToDouble(query.Coordinates.Longitude), Convert.ToDouble(query.Coordinates.Latitude));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private static void GenerateTsp(CloudMachineInfrastructure cmi)
name = name.Substring(1);
string directory = Path.Combine(".", "tsp");
string tspFile = Path.Combine(directory, $"{name}.tsp");
Directory.CreateDirectory(Path.GetDirectoryName(tspFile));
Directory.CreateDirectory(Path.GetDirectoryName(tspFile)!);
if (File.Exists(tspFile))
File.Delete(tspFile);
using FileStream stream = File.OpenWrite(tspFile);
Expand Down