Skip to content

Commit

Permalink
Update Set-UDClipboard.cs
Browse files Browse the repository at this point in the history
Capitalizaed
  • Loading branch information
BoSen29 authored Oct 3, 2019
1 parent c51d99e commit 1eaf801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UniversalDashboard/Cmdlets/Set-UDClipboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ public class SetUDClipboardCommand : PSCmdlet
//private readonly Logger Log = LogManager.GetLogger(nameof(InvokeRedirectCommand));

[Parameter(Mandatory = true)]
public string data { get; set; }
public string Data { get; set; }

protected override void EndProcessing()
{
var hub = this.GetVariableValue("DashboardHub") as IHubContext<DashboardHub>;
var connectionId = this.GetVariableValue("ConnectionId") as string;
hub.Clipboard(connectionId, data).Wait();
hub.Clipboard(connectionId, Data).Wait();
}
}
}

0 comments on commit 1eaf801

Please sign in to comment.