private void ReloadExistingHandlers() { IEnumerable <HandlerDescription> actionHandlers = null; IEnumerable <HandlerDescription> validationHandlers = null; IEnumerable <string> validationRuleWarningHandlers = null; IEnumerable <string> validationRuleErrorHandlers = null; IEnumerable <string> states = null; actionHandlers = ViewModelExtension.BuildActionHandlerDescriptions(Version(), ConfigId(), DocumentId()); validationHandlers = ViewModelExtension.BuildValidationHandlerDescriptions(Version(), ConfigId(), DocumentId()); validationRuleWarningHandlers = ViewModelExtension.BuildValidationRuleWarningDescriptions(Version(), ConfigId(), DocumentId()); validationRuleErrorHandlers = ViewModelExtension.BuildValidationRuleErrorDescriptions(Version(), ConfigId(), DocumentId()); _selectedTemplate.ActionHandlers = actionHandlers; _selectedTemplate.ValidationErrors = validationRuleErrorHandlers; _selectedTemplate.ValidationWarnings = validationRuleWarningHandlers; _selectedTemplate.ValidationHandlers = validationHandlers; _selectedTemplate.DocumentStates = states; }