CmisSync.SetupSubCustomizeController.LocalPathExistsHandler C# (CSharp) Method

LocalPathExistsHandler() private method

private LocalPathExistsHandler ( string path ) : bool
path string
return bool
        bool LocalPathExistsHandler(string path) {
            NSAlert alert = NSAlert.WithMessage(
                String.Format( Properties_Resources.ConfirmExistingLocalFolderText, path),
                "No, I want to choose another target",
                "Yes, I understand the risk",
                null,
                "");
            alert.Icon = new NSImage (UIHelpers.GetImagePathname ("process-syncing-error", "icns"));
            int i = alert.RunModal();
            return (i == 0);
        }