C# Class SobekCM.Core.Configuration.QualityControl_Configuration

Class keeps all the system-wide quality control profiles which can be used within the system
Exibir arquivo Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description
Clear void
Convert_String_To_XML_Safe string

Public Methods

Method Description
Add_Profile ( QualityControl_Profile New_Profile ) : void

Add a quality control profile with user settings, such as which division types to include for selection

Get_Default_Profile ( ) : QualityControl_Profile

Gets the default quality control profile

QualityControl_Configuration ( ) : System

Static constructor for the QualityControl_Configuration class

Save_To_Config_File ( string FilePath ) : bool

Save this quality control configuration to a XML config file

Set_Default_Values ( ) : void

Set the default profile with the default values

Private Methods

Method Description
Clear ( ) : void
Convert_String_To_XML_Safe ( string Element ) : string

Converts a basic string into an XML-safe string

Method Details

Add_Profile() public method

Add a quality control profile with user settings, such as which division types to include for selection
public Add_Profile ( QualityControl_Profile New_Profile ) : void
New_Profile QualityControl_Profile New profile to add
return void

Get_Default_Profile() public method

Gets the default quality control profile
public Get_Default_Profile ( ) : QualityControl_Profile
return QualityControl_Profile

QualityControl_Configuration() public method

Static constructor for the QualityControl_Configuration class
public QualityControl_Configuration ( ) : System
return System

Save_To_Config_File() public method

Save this quality control configuration to a XML config file
public Save_To_Config_File ( string FilePath ) : bool
FilePath string File/path for the resulting XML config file
return bool

Set_Default_Values() public method

Set the default profile with the default values
public Set_Default_Values ( ) : void
return void