mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 18:43:10 +08:00
Expose more properties
This commit is contained in:
@@ -3,11 +3,11 @@ using System.Management.Automation;
|
||||
namespace MQTTnet.PowerShell.Cmdlets;
|
||||
|
||||
[Cmdlet(VerbsCommon.New, "MqttSession")]
|
||||
[OutputType(typeof(MqttSession))]
|
||||
[OutputType(typeof(PsMqttSession))]
|
||||
public class NewMqttSessionCmdlet : PSCmdlet
|
||||
{
|
||||
protected override void ProcessRecord()
|
||||
{
|
||||
WriteObject(new MqttSession());
|
||||
WriteObject(new PsMqttSession());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user