CmisSync.SetupSubCustomizeController.CheckCustomizeInput C# (CSharp) Метод

CheckCustomizeInput() приватный Метод

private CheckCustomizeInput ( ) : void
Результат void
        private void CheckCustomizeInput()
        {
            string error = Controller.CheckRepoPathAndName (LocalPathText.StringValue, RepoNameText.StringValue);
            if (!String.IsNullOrEmpty (error)) {
                WarnText.StringValue = error;
                WarnText.TextColor = NSColor.Red;
            } else {
                try {
                    Controller.CheckRepoPathExists (LocalPathText.StringValue);
                    WarnText.StringValue = "";
                } catch (ArgumentException e) {
                    WarnText.TextColor = NSColor.Orange;
                    WarnText.StringValue = e.Message;
                }
            }
        }