internal TaskAddParameter(string id, string displayName, string commandLine, TaskContainerSettings containerSettings, ExitConditions exitConditions, IList <ResourceFile> resourceFiles, IList <OutputFile> outputFiles, IList <EnvironmentSetting> environmentSettings, AffinityInformation affinityInfo, TaskConstraints constraints, UserIdentity userIdentity, MultiInstanceSettings multiInstanceSettings, TaskDependencies dependsOn, IList <ApplicationPackageReference> applicationPackageReferences, AuthenticationTokenSettings authenticationTokenSettings)
 {
     Id                           = id;
     DisplayName                  = displayName;
     CommandLine                  = commandLine;
     ContainerSettings            = containerSettings;
     ExitConditions               = exitConditions;
     ResourceFiles                = resourceFiles;
     OutputFiles                  = outputFiles;
     EnvironmentSettings          = environmentSettings;
     AffinityInfo                 = affinityInfo;
     Constraints                  = constraints;
     UserIdentity                 = userIdentity;
     MultiInstanceSettings        = multiInstanceSettings;
     DependsOn                    = dependsOn;
     ApplicationPackageReferences = applicationPackageReferences;
     AuthenticationTokenSettings  = authenticationTokenSettings;
 }
예제 #2
0
 internal CloudTask(string id, string displayName, string url, string eTag, DateTimeOffset?lastModified, DateTimeOffset?creationTime, ExitConditions exitConditions, TaskState?state, DateTimeOffset?stateTransitionTime, TaskState?previousState, DateTimeOffset?previousStateTransitionTime, string commandLine, TaskContainerSettings containerSettings, IReadOnlyList <ResourceFile> resourceFiles, IReadOnlyList <OutputFile> outputFiles, IReadOnlyList <EnvironmentSetting> environmentSettings, AffinityInformation affinityInfo, TaskConstraints constraints, UserIdentity userIdentity, TaskExecutionInformation executionInfo, ComputeNodeInformation nodeInfo, MultiInstanceSettings multiInstanceSettings, TaskStatistics stats, TaskDependencies dependsOn, IReadOnlyList <ApplicationPackageReference> applicationPackageReferences, AuthenticationTokenSettings authenticationTokenSettings)
 {
     Id                           = id;
     DisplayName                  = displayName;
     Url                          = url;
     ETag                         = eTag;
     LastModified                 = lastModified;
     CreationTime                 = creationTime;
     ExitConditions               = exitConditions;
     State                        = state;
     StateTransitionTime          = stateTransitionTime;
     PreviousState                = previousState;
     PreviousStateTransitionTime  = previousStateTransitionTime;
     CommandLine                  = commandLine;
     ContainerSettings            = containerSettings;
     ResourceFiles                = resourceFiles;
     OutputFiles                  = outputFiles;
     EnvironmentSettings          = environmentSettings;
     AffinityInfo                 = affinityInfo;
     Constraints                  = constraints;
     UserIdentity                 = userIdentity;
     ExecutionInfo                = executionInfo;
     NodeInfo                     = nodeInfo;
     MultiInstanceSettings        = multiInstanceSettings;
     Stats                        = stats;
     DependsOn                    = dependsOn;
     ApplicationPackageReferences = applicationPackageReferences;
     AuthenticationTokenSettings  = authenticationTokenSettings;
 }
 internal JobPreparationTask(string id, string commandLine, TaskContainerSettings containerSettings, IList <ResourceFile> resourceFiles, IList <EnvironmentSetting> environmentSettings, TaskConstraints constraints, bool?waitForSuccess, UserIdentity userIdentity, bool?rerunOnNodeRebootAfterSuccess)
 {
     Id                            = id;
     CommandLine                   = commandLine;
     ContainerSettings             = containerSettings;
     ResourceFiles                 = resourceFiles;
     EnvironmentSettings           = environmentSettings;
     Constraints                   = constraints;
     WaitForSuccess                = waitForSuccess;
     UserIdentity                  = userIdentity;
     RerunOnNodeRebootAfterSuccess = rerunOnNodeRebootAfterSuccess;
 }