PublishPackageCommand
Namespace: AnyPackage.Commands
The Publish-Package command.
public sealed class PublishPackageCommand : AnyPackage.Commands.Internal.PackageCommandBase, System.Management.Automation.IDynamicParameters
Inheritance Object → InternalCommand → Cmdlet → PSCmdlet → CommandBase → PackageCommandBase → PublishPackageCommand
Implements IDynamicParameters
Properties
Path
Gets or sets destination path.
public string Path { get; set; }
Property Value
Provider
Gets or sets the provider.
public string Provider { get; set; }
Property Value
Source
Gets or sets the source.
public string Source { get; set; }
Property Value
PassThru
Gets or sets if the command should pass objects through.
public SwitchParameter PassThru { get; set; }
Property Value
SwitchParameter
Events
public PSEventManager Events { get; }
Property Value
PSEventManager
Host
public PSHost Host { get; }
Property Value
PSHost
InvokeCommand
public CommandInvocationIntrinsics InvokeCommand { get; }
Property Value
CommandInvocationIntrinsics
InvokeProvider
public ProviderIntrinsics InvokeProvider { get; }
Property Value
ProviderIntrinsics
JobManager
public JobManager JobManager { get; }
Property Value
JobManager
JobRepository
public JobRepository JobRepository { get; }
Property Value
JobRepository
MyInvocation
public InvocationInfo MyInvocation { get; }
Property Value
InvocationInfo
PagingParameters
public PagingParameters PagingParameters { get; }
Property Value
PagingParameters
ParameterSetName
public string ParameterSetName { get; }
Property Value
SessionState
public SessionState SessionState { get; }
Property Value
SessionState
CommandRuntime
public ICommandRuntime CommandRuntime { get; set; }
Property Value
ICommandRuntime
Stopping
public bool Stopping { get; }
Property Value
CommandOrigin
public CommandOrigin CommandOrigin { get; }
Property Value
CommandOrigin
Constructors
PublishPackageCommand()
Instantiates the PublishPackageCommand
class.
public PublishPackageCommand()
Methods
ProcessRecord()
Processes input.
protected void ProcessRecord()