Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seal all options classes and transport options classes #2877

Merged
merged 2 commits into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion iothub/device/src/IotHubClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Azure.Devices.Client
/// <summary>
/// Options that allow configuration of the IoT hub device or module client instance during initialization.
/// </summary>
public class IotHubClientOptions
public sealed class IotHubClientOptions
{
/// <summary>
/// Creates an instances of this class with the default transport settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Azure.Devices.Client
/// <summary>
/// Contains MQTT transport-specific settings for the device and module clients.
/// </summary>
public class IotHubClientMqttSettings : IotHubClientTransportSettings
public sealed class IotHubClientMqttSettings : IotHubClientTransportSettings
{
/// <summary>
/// Creates an instance of this class.
Expand Down
2 changes: 1 addition & 1 deletion iothub/service/src/IotHubServiceClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.Azure.Devices
/// <summary>
/// The configurable options for <see cref="IotHubServiceClient"/> instances.
/// </summary>
public class IotHubServiceClientOptions
public sealed class IotHubServiceClientOptions
{
/// <summary>
/// The web proxy that will be used to connect to IoT hub when using the HTTP protocol.
Expand Down
2 changes: 1 addition & 1 deletion provisioning/device/src/ProvisioningClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Azure.Devices.Provisioning.Client
/// <summary>
/// Options that allow configuration of the provisioning device client instance during initialization.
/// </summary>
public class ProvisioningClientOptions
public sealed class ProvisioningClientOptions
{
/// <summary>
/// Creates an instances of this class with the default transport settings.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Azure.Devices.Provisioning.Client
/// <summary>
/// Contains MQTT transport-specific settings for a provisioning device client.
/// </summary>
public class ProvisioningClientMqttSettings : ProvisioningClientTransportSettings
public sealed class ProvisioningClientMqttSettings : ProvisioningClientTransportSettings
{
/// <summary>
/// Creates an instance of this class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.Azure.Devices.Provisioning.Service
/// <summary>
/// Options that allow configuration of the provisioning service client instance during initialization.
/// </summary>
public class ProvisioningServiceClientOptions
public sealed class ProvisioningServiceClientOptions
{
/// <summary>
/// The transport settings to use.
Expand Down