Property | Type | Description | |
---|---|---|---|
Convert_String_To_XML_Safe | string | ||
Write_Translations | void |
Method | Description | |
---|---|---|
Add_Translation ( Web_Language_Enum Language, string Translation ) : void |
Add a translated type for this division
|
|
Get_Translation ( Web_Language_Enum Language, bool useDefaultIfNotPresent ) : string |
Get the type translated into the language specified
|
|
QualityControl_Division_Config ( ) : System |
Constructor for a new instance of the QualityControl_Division_Config class
|
|
QualityControl_Division_Config ( int ID, string TypeName, bool isActive, bool isNameable ) : System |
Constructor for a new instance of the QualityControl_Division_Config class
|
|
QualityControl_Division_Config ( int ID, string TypeName, bool isActive, bool isNameable, string BaseTypeName ) : System |
Constructor for a new instance of the QualityControl_Division_Config class
|
|
ShouldSerializeBaseTypeName ( ) : bool |
Method suppresses XML Serialization of the BaseTypeName property if it is empty
|
|
ShouldSerializeTypeTranslations ( ) : bool |
Method suppresses XML Serialization of the TypeTranslations collection if it is empty
|
Method | Description | |
---|---|---|
Convert_String_To_XML_Safe ( string element ) : string |
Converts a basic string into an XML-safe string
|
|
Write_Translations ( |
public Add_Translation ( Web_Language_Enum Language, string Translation ) : void | ||
Language | Web_Language_Enum | Language for this translation |
Translation | string | Translation of the type of this division |
return | void |
public Get_Translation ( Web_Language_Enum Language, bool useDefaultIfNotPresent ) : string | ||
Language | Web_Language_Enum | UI language |
useDefaultIfNotPresent | bool | Flag determines if the default type should be returned /// if the specified language does not exist |
return | string |
public QualityControl_Division_Config ( ) : System | ||
return | System |
public QualityControl_Division_Config ( int ID, string TypeName, bool isActive, bool isNameable ) : System | ||
ID | int | Key for this division configuration information |
TypeName | string | Name of this type, which the user selects. This is also the default name, if /// a translation for this name is not provided in a requested language |
isActive | bool | Flag indicates if this division is currently active |
isNameable | bool | Flag indicates if the user will be asked for a name when this division is chosen |
return | System |
public QualityControl_Division_Config ( int ID, string TypeName, bool isActive, bool isNameable, string BaseTypeName ) : System | ||
ID | int | Key for this division configuration information |
TypeName | string | Name of this type, which the user selects. This is also the default name, if /// a translation for this name is not provided in a requested language |
isActive | bool | Flag indicates if this division is currently active |
isNameable | bool | Flag indicates if the user will be asked for a name when this division is chosen |
BaseTypeName | string | If this is set, then the typename is actually used as the division label /// and this is used as the type within the METS structure map |
return | System |
public ShouldSerializeBaseTypeName ( ) : bool | ||
return | bool |
public ShouldSerializeTypeTranslations ( ) : bool | ||
return | bool |