@@ -5441,71 +5441,3 @@ public partial record DockerRun: ICommandLine
54415441 public static DockerRun operator - ( DockerRun command , IEnumerable < ( string name , string value ) > vars ) => command . RemoveVars ( vars ) ;
54425442}
54435443
5444- [ ExcludeFromCodeCoverage ]
5445- public partial record UnityPlayer : ICommandLine
5446- {
5447- /// <summary>
5448- /// Appends an argument.
5449- /// </summary>
5450- /// <param name="command">The command to which an argument will be added.</param>
5451- /// <param name="arg">Argument to add.</param>
5452- /// <returns>Returns a new command with the corresponding changes.</returns>
5453- public static UnityPlayer operator + ( UnityPlayer command , string arg ) => command . AddArgs ( arg ) ;
5454-
5455- /// <summary>
5456- /// Removes an argument by its name.
5457- /// </summary>
5458- /// <param name="command">The command to which an argument will be removed.</param>
5459- /// <param name="arg">Argument to remove.</param>
5460- /// <returns>Returns a new command with the corresponding changes.</returns>
5461- public static UnityPlayer operator - ( UnityPlayer command , string arg ) => command . RemoveArgs ( arg ) ;
5462-
5463- /// <summary>
5464- /// Appends arguments.
5465- /// </summary>
5466- /// <param name="command">The command to which arguments will be added.</param>
5467- /// <param name="args">Arguments to add.</param>
5468- /// <returns>Returns a new command with the corresponding changes.</returns>
5469- public static UnityPlayer operator + ( UnityPlayer command , IEnumerable < string > args ) => command . AddArgs ( args ) ;
5470-
5471- /// <summary>
5472- /// Removes arguments by their name.
5473- /// </summary>
5474- /// <param name="command">The command to which arguments will be removed.</param>
5475- /// <param name="args">Arguments to remove.</param>
5476- /// <returns>Returns a new command with the corresponding changes.</returns>
5477- public static UnityPlayer operator - ( UnityPlayer command , IEnumerable < string > args ) => command . RemoveArgs ( args ) ;
5478-
5479- /// <summary>
5480- /// Appends an environment variable.
5481- /// </summary>
5482- /// <param name="command">The command to which an environment variable will be added.</param>
5483- /// <param name="var">Environment variable to add.</param>
5484- /// <returns>Returns a new command with the corresponding changes.</returns>
5485- public static UnityPlayer operator + ( UnityPlayer command , ( string name , string value ) var ) => command . AddVars ( var ) ;
5486-
5487- /// <summary>
5488- /// Removes environment variable by its name and value.
5489- /// </summary>
5490- /// <param name="command">The command to which an environment variable will be removed.</param>
5491- /// <param name="var">Environment variable to remove.</param>
5492- /// <returns>Returns a new command with the corresponding changes.</returns>
5493- public static UnityPlayer operator - ( UnityPlayer command , ( string name , string value ) var ) => command . RemoveVars ( var ) ;
5494-
5495- /// <summary>
5496- /// Appends environment variables.
5497- /// </summary>
5498- /// <param name="command">The command to which environment variables will be added.</param>
5499- /// <param name="vars">Environment variables to add.</param>
5500- /// <returns>Returns a new command with the corresponding changes.</returns>
5501- public static UnityPlayer operator + ( UnityPlayer command , IEnumerable < ( string name , string value ) > vars ) => command . AddVars ( vars ) ;
5502-
5503- /// <summary>
5504- /// Removes environment variables by their name and value.
5505- /// </summary>
5506- /// <param name="command">The command to which environment variables will be removed.</param>
5507- /// <param name="vars">environment variables to remove.</param>
5508- /// <returns>Returns a new command with the corresponding changes.</returns>
5509- public static UnityPlayer operator - ( UnityPlayer command , IEnumerable < ( string name , string value ) > vars ) => command . RemoveVars ( vars ) ;
5510- }
5511-
0 commit comments