void IPolicyConfigControl.ReadFromConfig(PolicyConfig config) { FieldConfig controlConfig = config.FieldConfig; Visibilities.Bind(controlConfig.VisibilitiesToCheck); SummaryDocumentationTagCheckBox.Checked = controlConfig.SummaryDocumentationRequired; }
void IPolicyConfigControl.ReadFromConfig(PolicyConfig config) { ClassConfig controlConfig = GetConfig(config); Visibilities.Bind(controlConfig.VisibilitiesToCheck); GenericParametersOptionCheckBox.Checked = controlConfig.GenericParameterDocumentationRequired; SampleDocumentationTagCheckBox.Checked = controlConfig.SampleDocumentationRequired; SummaryDocumentationTagCheckBox.Checked = controlConfig.SummaryDocumentationRequired; }
void IPolicyConfigControl.ReadFromConfig(PolicyConfig config) { EventConfig controlConfig = config.EventConfig; Visibilities.Bind(controlConfig.VisibilitiesToCheck); OverridesOptionCheckBox.Checked = controlConfig.DocumentOverrides; ExplicitOptionCheckBox.Checked = controlConfig.ExplicitInterfaceEventDocumentationRequired; InterfaceOptionCheckBox.Checked = controlConfig.InterfaceDeclarationDocumentationRequired; SummaryDocumentationTagCheckBox.Checked = controlConfig.SummaryDocumentationRequired; }
void IPolicyConfigControl.ReadFromConfig(PolicyConfig config) { DelegateConfig controlConfig = config.DelegateConfig; Visibilities.Bind(controlConfig.VisibilitiesToCheck); GenericParametersOptionCheckBox.Checked = controlConfig.GenericParameterDocumentationRequired; ParametersOptionCheckBox.Checked = controlConfig.ParameterDocumentationRequired; ReturnsDocumentationTagCheckBox.Checked = controlConfig.ResultDocumentationRequired; SampleDocumentationTagCheckBox.Checked = controlConfig.SampleDocumentationRequired; SummaryDocumentationTagCheckBox.Checked = controlConfig.SummaryDocumentationRequired; }
void IPolicyConfigControl.ReadFromConfig(PolicyConfig config) { MethodConfig controlConfig = config.MethodConfig; Visibilities.Bind(controlConfig.VisibilitiesToCheck); GenericParametersOptionCheckBox.Checked = controlConfig.GenericParameterDocumentationRequired; ParametersOptionCheckBox.Checked = controlConfig.ParameterDocumentationRequired; OverridesOptionCheckBox.Checked = controlConfig.DocumentOverrides; ExplicitOptionCheckBox.Checked = controlConfig.ExplicitInterfaceMethodDocumentationRequired; InterfaceOptionCheckBox.Checked = controlConfig.InterfaceDeclarationDocumentationRequired; ReturnsDocumentationTagCheckBox.Checked = controlConfig.ResultDocumentationRequired; SampleDocumentationTagCheckBox.Checked = controlConfig.SampleDocumentationRequired; SummaryDocumentationTagCheckBox.Checked = controlConfig.SummaryDocumentationRequired; }