in wwauth/Google.Solutions.WWAuth/View/WorkloadIdentityConfigurationSheet.cs [32:79]
internal WorkloadIdentityConfigurationSheet(
CredentialConfigurationFile file)
{
InitializeComponent();
var viewModel = new WorkloadIdentityConfigurationViewModel(
file,
new ShellAdapter());
this.projectNumberTextBox.BindProperty(
c => c.Text,
viewModel,
m => m.ProjectNumber,
this.Container);
this.poolIdTextBox.BindProperty(
c => c.Text,
viewModel,
m => m.PoolId,
this.Container);
this.providerIdTextBox.BindProperty(
c => c.Text,
viewModel,
m => m.ProviderId,
this.Container);
this.audienceTextBox.BindReadonlyProperty(
c => c.Text,
viewModel,
m => m.Audience,
this.Container);
this.impersonateSaCheckBox.BindProperty(
c => c.Checked,
viewModel,
m => m.IsImpersonateServiceAccountEnabled,
this.Container);
this.serviceAccountTextBox.BindReadonlyProperty(
c => c.Enabled,
viewModel,
m => m.IsImpersonateServiceAccountEnabled,
this.Container);
this.serviceAccountTextBox.BindProperty(
c => c.Text,
viewModel,
m => m.ServiceAccountEmail,
this.Container);
this.ViewModel = viewModel;
}