Change to inherit from Cmdlet
parent
8abc2fa15e
commit
982227cf1f
|
@ -11,7 +11,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
|
||||
[Cmdlet(VerbsData.Convert, "AspectRatio")]
|
||||
[OutputType(typeof(string))]
|
||||
public class ConvertAspectRatioCmdlet : PSCmdlet
|
||||
public class ConvertAspectRatioCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true, Position = 0)]
|
||||
public int Width { get; set; }
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsData.ConvertTo, "StringBytes")]
|
||||
[OutputType(typeof(byte[]))]
|
||||
public class ConvertToStringBytesCmdlet : PSCmdlet
|
||||
public class ConvertToStringBytesCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
|
||||
public string Input { get; set; }
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsData.Edit, "PatchBinary")]
|
||||
[OutputType(typeof(string))]
|
||||
public class EditPatchBinaryCmdlet : PSCmdlet
|
||||
public class EditPatchBinaryCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true, Position = 0)]
|
||||
public long Offset { get; set; }
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsCommon.Get, "GameManifest")]
|
||||
[OutputType(typeof(GameManifest))]
|
||||
public class GetGameManifestCmdlet : PSCmdlet
|
||||
public class GetGameManifestCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
|
||||
public string Path { get; set; }
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsCommon.Get, "PrimaryDisplay")]
|
||||
[OutputType(typeof(string))]
|
||||
public class GetPrimaryDisplayCmdlet : PSCmdlet
|
||||
public class GetPrimaryDisplayCmdlet : Cmdlet
|
||||
{
|
||||
protected override void ProcessRecord()
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsLifecycle.Install, "Game")]
|
||||
[OutputType(typeof(string))]
|
||||
public class InstallGameCmdlet : PSCmdlet
|
||||
public class InstallGameCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true)]
|
||||
public Client Client { get; set; }
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsLifecycle.Uninstall, "Game")]
|
||||
[OutputType(typeof(string))]
|
||||
public class UninstallGameCmdlet : PSCmdlet
|
||||
public class UninstallGameCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true)]
|
||||
public string InstallDirectory { get; set; }
|
||||
|
|
|
@ -6,7 +6,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
{
|
||||
[Cmdlet(VerbsCommunications.Write, "GameManifest")]
|
||||
[OutputType(typeof(string))]
|
||||
public class WriteGameManifestCmdlet : PSCmdlet
|
||||
public class WriteGameManifestCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
|
||||
public string Path { get; set; }
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace LANCommander.PowerShell.Cmdlets
|
|||
|
||||
[Cmdlet(VerbsCommunications.Write, "ReplaceContentInFile")]
|
||||
[OutputType(typeof(string))]
|
||||
public class ReplaceContentInFileCmdlet : PSCmdlet
|
||||
public class ReplaceContentInFileCmdlet : Cmdlet
|
||||
{
|
||||
[Parameter(Mandatory = true, Position = 0)]
|
||||
public string Pattern { get; set; }
|
||||
|
|
Loading…
Reference in New Issue