GoogleCloudExtension.FirewallManagement.PortManagerWindow.PromptUser C# (CSharp) Method

PromptUser() public static method

Shows the dialog to the user and returns the changes requested.
public static PromptUser ( Instance instance ) : PortChanges
instance Instance The instance on which open/close ports.
return PortChanges
        public static PortChanges PromptUser(Instance instance)
        {
            var window = new PortManagerWindow(instance);
            window.ShowModal();
            return window.ViewModel.Result;
        }
    }