public OverrideConfigurationForPullRequestCommand( Guid pullDogPullRequestId, ConfigurationFileOverride configurationOverride) { this.PullDogPullRequestId = pullDogPullRequestId; this.ConfigurationOverride = configurationOverride; }
private static void ApplyOverridesToConfiguration( ConfigurationFileOverride configurationOverride, ConfigurationFile configuration) { configuration.IsLazy = false; if (configurationOverride.BuildArguments != null) { configuration.BuildArguments = configurationOverride.BuildArguments; } if (configurationOverride.ConversationMode != default) { configuration.ConversationMode = configurationOverride.ConversationMode; } if (configurationOverride.Expiry != default) { configuration.Expiry = configurationOverride.Expiry; } }