diff --git a/src/Microsoft.PowerShell.Utility.Activities/Generated/ConvertToHtmlActivity.cs b/src/Microsoft.PowerShell.Utility.Activities/Generated/ConvertToHtmlActivity.cs deleted file mode 100644 index 1ca5067fd..000000000 --- a/src/Microsoft.PowerShell.Utility.Activities/Generated/ConvertToHtmlActivity.cs +++ /dev/null @@ -1,214 +0,0 @@ -// -// Copyright (C) Microsoft. All rights reserved. -// -using Microsoft.PowerShell.Activities; -using System.Management.Automation; -using System.Activities; -using System.Collections.Generic; -using System.ComponentModel; - - -namespace Microsoft.PowerShell.Utility.Activities -{ - /// - /// Activity to invoke the Microsoft.PowerShell.Utility\ConvertTo-Html command in a Workflow. - /// - [System.CodeDom.Compiler.GeneratedCode("Microsoft.PowerShell.Activities.ActivityGenerator.GenerateFromName", "3.0")] - public sealed class ConvertToHtml : PSActivity - { - /// - /// Gets the display name of the command invoked by this activity. - /// - public ConvertToHtml() - { - this.DisplayName = "ConvertTo-Html"; - } - - /// - /// Gets the fully qualified name of the command invoked by this activity. - /// - public override string PSCommandName { get { return "Microsoft.PowerShell.Utility\\ConvertTo-Html"; } } - - // Arguments - - /// - /// Provides access to the InputObject parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument InputObject { get; set; } - - /// - /// Provides access to the Property parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Property { get; set; } - - /// - /// Provides access to the Body parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Body { get; set; } - - /// - /// Provides access to the Head parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Head { get; set; } - - /// - /// Provides access to the Title parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Title { get; set; } - - /// - /// Provides access to the As parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument As { get; set; } - - /// - /// Provides access to the CssUri parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument CssUri { get; set; } - - /// - /// Provides access to the Fragment parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Fragment { get; set; } - - /// - /// Provides access to the PostContent parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument PostContent { get; set; } - - /// - /// Provides access to the PreContent parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument PreContent { get; set; } - - /// - /// Provides access to the Meta parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Meta { get; set; } - - /// - /// Provides access to the Charset parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Charset { get; set; } - - /// - /// Provides access to the Meta parameter. - /// - [ParameterSpecificCategory] - [DefaultValue(null)] - public InArgument Transitional { get; set; } - - - // Module defining this command - - - // Optional custom code for this activity - - - /// - /// Returns a configured instance of System.Management.Automation.PowerShell, pre-populated with the command to run. - /// - /// The NativeActivityContext for the currently running activity. - /// A populated instance of System.Management.Automation.PowerShell - /// The infrastructure takes responsibility for closing and disposing the PowerShell instance returned. - protected override ActivityImplementationContext GetPowerShell(NativeActivityContext context) - { - System.Management.Automation.PowerShell invoker = global::System.Management.Automation.PowerShell.Create(); - System.Management.Automation.PowerShell targetCommand = invoker.AddCommand(PSCommandName); - - // Initialize the arguments - - if(InputObject.Expression != null) - { - targetCommand.AddParameter("InputObject", InputObject.Get(context)); - } - - if(Property.Expression != null) - { - targetCommand.AddParameter("Property", Property.Get(context)); - } - - if(Body.Expression != null) - { - targetCommand.AddParameter("Body", Body.Get(context)); - } - - if(Head.Expression != null) - { - targetCommand.AddParameter("Head", Head.Get(context)); - } - - if(Title.Expression != null) - { - targetCommand.AddParameter("Title", Title.Get(context)); - } - - if(As.Expression != null) - { - targetCommand.AddParameter("As", As.Get(context)); - } - - if(CssUri.Expression != null) - { - targetCommand.AddParameter("CssUri", CssUri.Get(context)); - } - - if(Fragment.Expression != null) - { - targetCommand.AddParameter("Fragment", Fragment.Get(context)); - } - - if(PostContent.Expression != null) - { - targetCommand.AddParameter("PostContent", PostContent.Get(context)); - } - - if(PreContent.Expression != null) - { - targetCommand.AddParameter("PreContent", PreContent.Get(context)); - } - - if(Meta.Expression != null) - { - targetCommand.AddParameter("Meta", Meta.Get(context)); - } - - if(Charset.Expression != null) - { - targetCommand.AddParameter("Charset", Charset.Get(context)); - } - - if(Transitional.Expression != null) - { - targetCommand.AddParameter("Transitional", Transitional.Get(context)); - } - - - return new ActivityImplementationContext() { PowerShellInstance = invoker }; - } - } -}