/// <exclude />
        protected void InitializeExtensions()
        {
            CanModifyActivities = true;

            foreach (var extension in FormsWorkflowExtensions.GetExtensions())
            {
                extension.Initialize(this);
            }

            CanModifyActivities = false;
        }
        private void OnDeliverFormData(Dictionary <string, object> bindings, Dictionary <string, List <ClientValidationRule> > bindingsValidationRules)
        {
            var parameters = new OnDeliverFormDataParameters
            {
                Bindings = bindings,
                BindingsValidationRules = bindingsValidationRules
            };

            foreach (var extension in FormsWorkflowExtensions.GetExtensions())
            {
                extension.OnDeliverFormData(this, parameters);
            }
        }