Skip to content

Commit 5bc3c50

Browse files
authored
Use Microsoft.Azure.WebJobs.Sources (Azure#26000)
1 parent d18095d commit 5bc3c50

File tree

13 files changed

+12
-395
lines changed

13 files changed

+12
-395
lines changed

sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/src/Microsoft.Azure.WebJobs.Extensions.ServiceBus.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<Version>5.3.0-beta.1</Version>
77
<!--The ApiCompatVersion is managed automatically and should not generally be modified manually.-->
88
<ApiCompatVersion>5.2.0</ApiCompatVersion>
9-
<NoWarn>$(NoWarn);AZC0001;CS1591;SA1636;CA1507</NoWarn>
9+
<NoWarn>$(NoWarn);AZC0001;CS1591;SA1636</NoWarn>
1010
<SignAssembly>true</SignAssembly>
1111
<IsExtensionClientLibrary>true</IsExtensionClientLibrary>
1212
<InheritDocTrimLevel>internal</InheritDocTrimLevel>
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Microsoft.Azure.WebJobs.Sources" />
16+
<PackageReference Include="Microsoft.Azure.WebJobs.Sources" PrivateAssets="All" />
1717
<PackageReference Include="Microsoft.Azure.WebJobs" />
1818
<PackageReference Include="Microsoft.Extensions.Azure" />
1919
<PackageReference Include="Azure.Messaging.ServiceBus" />
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the MIT License. See License.txt in the project root for license information.
33

4-
using System.Reflection;
4+
using System.Diagnostics.CodeAnalysis;
55
using System.Runtime.CompilerServices;
66

77
[assembly: InternalsVisibleTo("Microsoft.Azure.WebJobs.Extensions.ServiceBus.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")]
88
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
9+
10+
[assembly: SuppressMessage("Maintainability", "CA1507:Use nameof to express symbol names", Justification = "<Pending>", Scope = "member", Target = "~M:Microsoft.Azure.WebJobs.Host.Converters.CompositeObjectToTypeConverter`1.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Azure.WebJobs.Host.Converters.IObjectToTypeConverter{`0}})")]

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/IDelegatingHandlerProvider.cs

Lines changed: 0 additions & 19 deletions
This file was deleted.

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/Microsoft.Azure.WebJobs.Extensions.Tables.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
AZC0001;<!-- Namespace -->
1010
CS0618; <!-- Obsolete APIs -->
1111
CS1591; <!-- XML docs -->
12-
</NoWarn>
12+
</NoWarn>
13+
<InheritDocTrimLevel>internal</InheritDocTrimLevel>
1314
</PropertyGroup>
1415

1516
<ItemGroup>
1617
<PackageReference Include="Microsoft.Azure.WebJobs" />
18+
<PackageReference Include="Microsoft.Azure.WebJobs.Sources" PrivateAssets="All" />
1719
<PackageReference Include="Microsoft.Extensions.Azure" />
1820
</ItemGroup>
1921

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/OutputConverter.cs

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT License.
33

4+
using System.Diagnostics.CodeAnalysis;
45
using System.Runtime.CompilerServices;
56

67
[assembly: InternalsVisibleTo("Microsoft.Azure.WebJobs.Extensions.Tables.Tests, PublicKey=" +
@@ -9,4 +10,6 @@
910
"012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265" +
1011
"e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593d" +
1112
"aa7b11b4")]
12-
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
13+
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
14+
15+
[assembly: SuppressMessage("Maintainability", "CA1507:Use nameof to express symbol names", Justification = "<Pending>", Scope = "member", Target = "~M:Microsoft.Azure.WebJobs.Host.Converters.CompositeObjectToTypeConverter`1.#ctor(System.Collections.Generic.IEnumerable{Microsoft.Azure.WebJobs.Host.Converters.IObjectToTypeConverter{`0}})")]

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/TableClientHelpers.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,6 @@ public static bool ImplementsITableEntity(Type entityType)
5151
return entityType.GetInterfaces().Any(t => t == typeof(ITableEntity));
5252
}
5353

54-
public static bool ImplementsOrEqualsITableEntity(Type entityType)
55-
{
56-
Debug.Assert(entityType != null);
57-
return entityType == typeof(ITableEntity) || entityType.GetInterfaces().Any(t => t == typeof(ITableEntity));
58-
}
59-
60-
public static bool IsSystemProperty(string propertyName)
61-
{
62-
return String.Equals("PartitionKey", propertyName, StringComparison.Ordinal) ||
63-
String.Equals("RowKey", propertyName, StringComparison.Ordinal) ||
64-
String.Equals("Timestamp", propertyName, StringComparison.Ordinal) ||
65-
String.Equals("ETag", propertyName, StringComparison.Ordinal);
66-
}
67-
6854
public static void VerifyDefaultConstructor(Type entityType)
6955
{
7056
if (!entityType.IsValueType && entityType.GetConstructor(Type.EmptyTypes) == null)

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/WebJobsShared/CloudStorageAccountParameterDescriptor.cs

Lines changed: 0 additions & 21 deletions
This file was deleted.

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/WebJobsShared/CompositeObjectToTypeConverter.cs

Lines changed: 0 additions & 58 deletions
This file was deleted.

sdk/tables/Microsoft.Azure.WebJobs.Extensions.Tables/src/WebJobsShared/IObjectToTypeConverter.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)